1. 28 9月, 2010 3 次提交
    • M
      V4L/DVB: rc-core: increase repeat time · 04cab131
      Mauro Carvalho Chehab 提交于
      As reported by Anton Blanchard <anton@samba.org>, double IR events on
      2.6.36-rc2 and a DViCO FusionHDTV DVB-T Dual Express are happening:
      
      [ 1351.032084] ir_keydown: i2c IR (FusionHDTV): key down event, key 0x0067, scancode 0x0051
      [ 1351.281284] ir_keyup: keyup key 0x0067
      
      ie one key down event and one key up event 250ms later.
      
      So, we need to increase the repeat timeout, to avoid this bug to hit.
      
      As we're doing it at core, this fix is not needed anymore at dib0700 driver.
      
      Thanks-to: Anton Blanchard <anton@samba.org>
      Cc: stable@kernel.org
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      04cab131
    • M
      V4L/DVB: Don't identify PV SBTVD Hybrid as a DibCom device · 3bfb317f
      Mauro Carvalho Chehab 提交于
      As reported by Carlos, Prolink Pixelview SBTVD Hybrid is based on
      Conexant cx231xx + Fujitsu 86A20S demodulator. However, both shares
      the same USB ID. So, we need to use USB bcdDevice, in order to
      properly discover what's the board.
      
      We know for sure that bcd 0x100 is used for a dib0700 device, while
      bcd 0x4001 is used for a cx23102 device. This patch reserves two ranges,
      the first one from 0x0000-0x3f00 for dib0700, and the second from
      0x4000-0x4fff for cx231xx devices.
      
      This may need fixes in the future, as we get access to other devices.
      
      Thanks-to: Carlos Americo Domiciano <c_domiciano@yahoo.com.br>
      Cc: stable@kernel.org
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      3bfb317f
    • D
      V4L/DVB: opera1: remove unneeded NULL check · a8e07124
      Dan Carpenter 提交于
      "fw" is always a non-NULL pointer at this point, and anyway
      release_firmware() accepts NULL pointers.
      Signed-off-by: NDan Carpenter <error27@gmail.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      a8e07124
  2. 25 8月, 2010 1 次提交
  3. 13 8月, 2010 2 次提交
    • M
      V4L/DVB: fix Kconfig to depends on VIDEO_IR · 361be7b1
      Mauro Carvalho Chehab 提交于
      warning: (VIDEO_BT848 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_DEV && PCI && I2C && VIDEO_V4L2 && INPUT || VIDEO_SAA7134 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_DEV && PCI && I2C && INPUT || VIDEO_CX88 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && VIDEO_DEV && PCI && I2C && INPUT || VIDEO_IVTV && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && PCI && I2C && INPUT || VIDEO_CX18 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && DVB_CORE && PCI && I2C && EXPERIMENTAL && INPUT || VIDEO_EM28XX && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && V4L_USB_DRIVERS && USB && VIDEO_DEV && I2C && INPUT || VIDEO_TLG2300 && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && V4L_USB_DRIVERS && USB && VIDEO_DEV && I2C && INPUT && SND && DVB_CORE || VIDEO_CX231XX && MEDIA_SUPPORT && VIDEO_CAPTURE_DRIVERS && VIDEO_V4L2 && V4L_USB_DRIVERS && USB && VIDEO_DEV && I2C && INPUT || DVB_BUDGET_CI && MEDIA_SUPPORT && DVB_CAPTURE_DRIVERS && DVB_CORE && DVB_BUDGET_CORE && I2C && INPUT || DVB_DM1105 && MEDIA_SUPPORT && DVB_CAPTURE_DRIVERS && DVB_CORE && PCI && I2C && INPUT || VIDEO_GO7007 && STAGING && !STAGING_EXCLUDE_BUILD && VIDEO_DEV && PCI && I2C && INPUT && SND || VIDEO_CX25821 && STAGING && !STAGING_EXCLUDE_BUILD && DVB_CORE && VIDEO_DEV && PCI && I2C && INPUT) selects VIDEO_IR which has unmet direct dependencies (IR_CORE)
      Acked-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      361be7b1
    • M
      V4L/DVB: Fix IR_CORE dependencies · cfec93f7
      Mauro Carvalho Chehab 提交于
      As pointed by Randy Dunlap <randy.dunlap@oracle.com>:
      > ERROR: "ir_keydown" [drivers/media/video/ir-kbd-i2c.ko] undefined!
      > ERROR: "__ir_input_register" [drivers/media/video/ir-kbd-i2c.ko] undefined!
      > ERROR: "get_rc_map" [drivers/media/video/ir-kbd-i2c.ko] undefined!
      > ERROR: "ir_input_unregister" [drivers/media/video/ir-kbd-i2c.ko] undefined!
      > ERROR: "get_rc_map" [drivers/media/video/cx88/cx88xx.ko] undefined!
      > ERROR: "ir_repeat" [drivers/media/video/cx88/cx88xx.ko] undefined!
      > ERROR: "ir_input_unregister" [drivers/media/video/cx88/cx88xx.ko] undefined!
      > ERROR: "ir_keydown" [drivers/media/video/cx88/cx88xx.ko] undefined!
      > ERROR: "__ir_input_register" [drivers/media/video/cx88/cx88xx.ko] undefined!
      > ERROR: "get_rc_map" [drivers/media/video/bt8xx/bttv.ko] undefined!
      > ERROR: "ir_input_unregister" [drivers/media/video/bt8xx/bttv.ko] undefined!
      > ERROR: "__ir_input_register" [drivers/media/video/bt8xx/bttv.ko] undefined!
      > ERROR: "ir_g_keycode_from_table" [drivers/media/IR/ir-common.ko] undefined!
      >
      >
      > #5101:
      > (.text+0x8306e2): undefined reference to `ir_core_debug'
      > (.text+0x830729): undefined reference to `ir_core_debug'
      > ir-functions.c:(.text+0x830906): undefined reference to `ir_core_debug'
      > (.text+0x8309d8): undefined reference to `ir_g_keycode_from_table'
      > (.text+0x830acf): undefined reference to `ir_core_debug'
      > (.text+0x830b92): undefined reference to `ir_core_debug'
      > (.text+0x830bef): undefined reference to `ir_core_debug'
      > (.text+0x830c6a): undefined reference to `ir_core_debug'
      > (.text+0x830cf7): undefined reference to `ir_core_debug'
      > budget-ci.c:(.text+0x89f5c8): undefined reference to `ir_keydown'
      > budget-ci.c:(.text+0x8a0c58): undefined reference to `get_rc_map'
      > budget-ci.c:(.text+0x8a0c80): undefined reference to `__ir_input_register'
      > budget-ci.c:(.text+0x8a0ee0): undefined reference to `get_rc_map'
      > budget-ci.c:(.text+0x8a11cd): undefined reference to `ir_input_unregister'
      > (.text+0x8a8adb): undefined reference to `ir_input_unregister'
      > dvb-usb-remote.c:(.text+0x8a9188): undefined reference to `get_rc_map'
      > dvb-usb-remote.c:(.text+0x8a91b1): undefined reference to `__ir_input_register'
      > dvb-usb-remote.c:(.text+0x8a9238): undefined reference to `get_rc_map'
      > dib0700_core.c:(.text+0x8b04ca): undefined reference to `ir_keydown'
      > dib0700_devices.c:(.text+0x8b2ea8): undefined reference to `ir_keydown'
      > dib0700_devices.c:(.text+0x8b2ef0): undefined reference to `ir_keydown'
      
      Those breakages seem to be caused by two bad things at IR_CORE Kconfig:
      
      1) cx23885 is using select for IR_CORE;
      2) the dvb-usb and sms dependency for IR_CORE were missing.
      
      While here, allow users to un-select IR.
      Acked-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      cfec93f7
  4. 09 8月, 2010 3 次提交
  5. 03 8月, 2010 31 次提交