1. 30 3月, 2009 18 次提交
  2. 27 2月, 2009 1 次提交
    • N
      V4L/DVB (10659): em28xx: register device to soundcard for sysfs · 7662b00c
      Nicola Soranzo 提交于
      As explained in "Writing an ALSA driver" (T. Iwai), audio drivers should
      set the struct device for the card before registering the card instance.
      This will add the correct /sys/class/sound/cardN/device symlink, so HAL
      can see the device and ConsoleKit sets its ACL permissions for the
      logged-in user.
      
      For em28xx audio capture cards found e.g. in Hauppauge WinTV-HVR-900 (R2),
      this patch fixes errors like:
      
      ALSA lib pcm_hw.c:1429:(_snd_pcm_hw_open) Invalid value for card
      Error opening audio: Permission denied
      
      when running mplayer as a normal user.
      Signed-off-by: NNicola Soranzo <nsoranzo@tiscali.it>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      7662b00c
  3. 29 1月, 2009 8 次提交
  4. 12 1月, 2009 1 次提交
  5. 08 1月, 2009 2 次提交
    • J
      V4L/DVB (10185): Use negated usb_endpoint_xfer_control, etc · 2230c3c8
      Julia Lawall 提交于
      This patch extends 13417982 by using
      usb_endpoint_xfer_control, usb_endpoint_xfer_isoc, usb_endpoint_xfer_bulk,
      and usb_endpoint_xfer_int in the negated case as well.
      
      The semantic patch that makes this change is as follows:
      (http://www.emn.fr/x-info/coccinelle/)
      
      // <smpl>
      @@ struct usb_endpoint_descriptor *epd; @@
      
      - (usb_endpoint_type(epd) != \(USB_ENDPOINT_XFER_CONTROL\|0\))
      + !usb_endpoint_xfer_control(epd)
      
      @@ struct usb_endpoint_descriptor *epd; @@
      
      - (usb_endpoint_type(epd) != \(USB_ENDPOINT_XFER_ISOC\|1\))
      + !usb_endpoint_xfer_isoc(epd)
      
      @@ struct usb_endpoint_descriptor *epd; @@
      
      - (usb_endpoint_type(epd) != \(USB_ENDPOINT_XFER_BULK\|2\))
      + !usb_endpoint_xfer_bulk(epd)
      
      @@ struct usb_endpoint_descriptor *epd; @@
      
      - (usb_endpoint_type(epd) != \(USB_ENDPOINT_XFER_INT\|3\))
      + !usb_endpoint_xfer_int(epd)
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      2230c3c8
    • M
      V4L/DVB (10177): Fix sparse warnings on em28xx · 26cdc76b
      Mauro Carvalho Chehab 提交于
      /home/v4l/master/v4l/em28xx-core.c:396:25: warning: symbol 'outputs' was not declared. Should it be static?
      /home/v4l/master/v4l/em28xx-input.c:324:6: warning: symbol 'em28xx_ir_start' was not declared. Should it be static?
      /home/v4l/master/v4l/em28xx-cards.c:1925:5: warning: symbol 'em28xx_init_dev' was not declared. Should it be static?
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      26cdc76b
  6. 03 1月, 2009 4 次提交
  7. 30 12月, 2008 6 次提交