1. 06 7月, 2009 2 次提交
    • D
      V4L/DVB (12156): em28xx: Fix tuning for Terratec Cinergy T XS USB (zl10353 version) · f797608c
      Devin Heitmueller 提交于
      Fix the code so that the zl10353 version of the Terratec Cinergy T XS USB
      starts working again.  This includes fixing what must have been a typo in the
      GPIO definition for the digital side of the board, and setting of the
      disable_i2c_gate_ctrl property for the zl10353 config, so that the i2c bus
      doesn't get wedged the first time something tries to close the gate.
      
      Also, add a printk() making clear that the mt352 version still isn't
      supported.  This issue is still being actively debugged, but in the meantime
      at least the dmesg output will show a very clear error...
      
      Thanks to Jelle de Jong for providing sample hardware to test with.
      
      Thanks to Simon Kenyon for testing various patches and providing SSH access to
      his environment so I could debug with access to a valid signal source.
      
      Cc: Jelle de Jong <jelledejong@powercraft.nl>
      Cc: Simon Kenyon <simon@koala.ie>
      Signed-off-by: NDevin Heitmueller <dheitmueller@kernellabs.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      f797608c
    • M
      V4L/DVB (12138): em28xx: add support for Silvercrest Webcam · 02e7804b
      Mauro Carvalho Chehab 提交于
      This webcam uses a em2710 chipset, that identifies itself as em2820,
      plus a mt9v011 sensor, and a DY-301P lens.
      
      It needs a few different initializations than a normal em28xx device.
      
      Thanks to Hans de Goede <hdegoede@redhat.com> and Douglas Landgraf
      <dougsland@redhat.com> for providing the acces for the webcam during
      this weekend, I could make a patch for it while returning back from
      FISL/Fudcom LATAM 2009.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      02e7804b
  2. 23 6月, 2009 3 次提交
  3. 17 6月, 2009 11 次提交
  4. 07 4月, 2009 4 次提交
  5. 30 3月, 2009 15 次提交
  6. 29 1月, 2009 1 次提交
  7. 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
  8. 30 12月, 2008 2 次提交
    • J
      V4L/DVB (10130): use USB API functions rather than constants · 13417982
      Julia Lawall 提交于
      This set of patches introduces calls to the following set of functions:
      
      usb_endpoint_dir_in(epd)
      usb_endpoint_dir_out(epd)
      usb_endpoint_is_bulk_in(epd)
      usb_endpoint_is_bulk_out(epd)
      usb_endpoint_is_int_in(epd)
      usb_endpoint_is_int_out(epd)
      usb_endpoint_is_isoc_in(epd)
      usb_endpoint_is_isoc_out(epd)
      usb_endpoint_num(epd)
      usb_endpoint_type(epd)
      usb_endpoint_xfer_bulk(epd)
      usb_endpoint_xfer_control(epd)
      usb_endpoint_xfer_int(epd)
      usb_endpoint_xfer_isoc(epd)
      
      In some cases, introducing one of these functions is not possible, and it
      just replaces an explicit integer value by one of the following constants:
      
      USB_ENDPOINT_XFER_BULK
      USB_ENDPOINT_XFER_CONTROL
      USB_ENDPOINT_XFER_INT
      USB_ENDPOINT_XFER_ISOC
      
      An extract of the semantic patch that makes these changes is as follows:
      (http://www.emn.fr/x-info/coccinelle/)
      
      // <smpl>
      @r1@ struct usb_endpoint_descriptor *epd; @@
      
      - ((epd->bmAttributes & \(USB_ENDPOINT_XFERTYPE_MASK\|3\)) ==
      - \(USB_ENDPOINT_XFER_CONTROL\|0\))
      + usb_endpoint_xfer_control(epd)
      
      @r5@ struct usb_endpoint_descriptor *epd; @@
      
      - ((epd->bEndpointAddress & \(USB_ENDPOINT_DIR_MASK\|0x80\)) ==
      -  \(USB_DIR_IN\|0x80\))
      + usb_endpoint_dir_in(epd)
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      13417982
    • D
      V4L/DVB (10121): em28xx: remove worthless Pinnacle PCTV HD Mini 80e device profile · 7ed3a7a3
      Devin Heitmueller 提交于
      The Pinnacle 80e cannot be supported since Micronas yanked their driver
      support for the drx-j chipset at the last minute.  Remove the device profile
      since it cannot work without the drx driver and it being there is only likely
      to confuse people into thinking the device is supported but not working.
      Signed-off-by: NDevin Heitmueller <dheitmueller@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      7ed3a7a3