2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00
linux-next/drivers/media/video
Manu Abraham fc9d53af37 [PATCH] bttv: fix dst i2c read/write timeout failure.
Attached is a patch to bttv which fixes the following problems.

Affected cards and problems:
~~~~~~~~~~~~~~~~~~~~~~~~
o VP-1020 (200103A) Tuning problems, device detection.
o VP-1020 (DST-MOT) Errors during tuning, device detection fails in a while.
o VP-1030 (DST-CI) Tuning sometimes fails after CI commands.
o VP-2031 (DCT-CI) Tuning problems

The timeout happens before the actual timeout occured in the MCU
on the board, and hence the problems.

Changes: (bttv-i2c.diff)
~~~~~~~~~~~~~~~~~~~~~~~~
o Changed the custom wait queue to wait_event_interruptible_timeout()
      - Suggestion by Johannes Stezenbach.

o Fixed the wait queue timeout problem
      - This fixes the timeout problem on various cards.
      - This problem was visible as many
          * Cannot tune to channels, when signal levels are very low.
          * app_info does not work in some conditions for CI based cards
      - Smaller values worked good for newer cards, but the older cards
suffered, settled down to the worst case values that could happen in any
eventuality.

Signed-off-by: Manu Abraham <manu@kromtek.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-05 16:36:44 -07:00
..
cx88 [PATCH] make lots of things static 2005-05-01 08:59:29 -07:00
ovcamchip Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7134 [PATCH] saa6752hs: resolutions handling 2005-05-05 16:36:42 -07:00
adv7170.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
adv7175.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
arv.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt819.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt832.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt832.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt848.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bt856.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
btcx-risc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
btcx-risc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bttv-cards.c [PATCH] fix Bug 4395: modprobe bttv freezes the computer 2005-04-16 15:24:02 -07:00
bttv-driver.c [PATCH] make lots of things static 2005-05-01 08:59:29 -07:00
bttv-gpio.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bttv-i2c.c [PATCH] bttv: fix dst i2c read/write timeout failure. 2005-05-05 16:36:44 -07:00
bttv-if.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bttv-risc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bttv-vbi.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bttv.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bttvp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bw-qcam.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bw-qcam.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
c-qcam.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpia_pp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpia_usb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpia.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpia.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cs8420.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dpc7146.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hexium_gemini.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hexium_orion.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibmmpeg2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ir-kbd-gpio.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ir-kbd-i2c.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PATCH] dvb: cx22702 frontend driver update 2005-05-01 08:59:20 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
meye.c [PATCH] fix u32 vs. pm_message_t in drivers/media 2005-04-16 15:25:27 -07:00
meye.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
msp3400.c [PATCH] v4l: msp3400 update 2005-05-01 08:59:20 -07:00
msp3400.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mt20xx.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mxb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mxb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
planb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
planb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pms.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa5246a.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa5246a.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa5249.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7110.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7111.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7114.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7121.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7146.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7146reg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7185.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
saa7196.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
stradis.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tda7432.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tda8290.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tda9840.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tda9840.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tda9875.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tda9887.c [PATCH] fix module_param_string() calls 2005-04-16 15:25:43 -07:00
tea6415c.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tea6415c.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tea6420.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tea6420.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tuner-3036.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tuner-core.c [PATCH] fix module_param_string() calls 2005-04-16 15:25:43 -07:00
tuner-simple.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tvaudio.c [PATCH] v4l: msp3400 update 2005-05-01 08:59:20 -07:00
tvaudio.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tveeprom.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tvmixer.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
v4l1-compat.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
v4l2-common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
video-buf-dvb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
video-buf.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
videocodec.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
videocodec.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
videodev.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vino.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vino.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vpx3220.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
w9966.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_card.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_card.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_device.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_device.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_driver.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_procfs.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran_procfs.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zoran.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36016.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36016.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36050.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36050.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36057.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36060.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36060.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120_i2c.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120_mem.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120_mem.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
zr36120.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00