android_kernel_xiaomi_sm8350/drivers
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
..
acorn
acpi [PATCH] DocBook: fix some descriptions 2005-05-01 08:59:26 -07:00
atm
base [PATCH] drivers/base/bus.c: fix iteration in driver_detach() 2005-05-04 23:44:38 -07:00
block [PATCH] remove do_sync parameter from __invalidate_device 2005-05-05 16:36:44 -07:00
bluetooth
cdrom [PATCH] Avoid unnecessary ide-cd cache flushes 2005-05-01 12:12:52 -07:00
char [PATCH] uninline tty_paranoia_check() 2005-05-05 16:36:42 -07:00
cpufreq [PATCH] cpufreq annoying warning fix 2005-05-02 08:15:22 -07:00
crypto
dio
eisa
fc4
firmware
i2c [PATCH] ppc annotations: i2c-mpc 2005-04-25 18:32:12 -07:00
ide [PATCH] drivers/ide/pci/sis5513.c: section fixes 2005-05-05 16:36:41 -07:00
ieee1394
infiniband [PATCH] fix include order in mthca_memfree.c 2005-05-01 08:59:14 -07:00
input [PATCH] drivers/input/joystick/spaceorb.c: fix an array overflow 2005-05-01 08:59:30 -07:00
isdn [PATCH] make lots of things static 2005-05-01 08:59:29 -07:00
macintosh [PATCH] ppc32: Fix might_sleep() warning with clock spreading 2005-05-02 08:15:22 -07:00
mca
md [PATCH] Change synchronize_kernel to _rcu and _sched 2005-05-01 08:59:04 -07:00
media [PATCH] bttv: fix dst i2c read/write timeout failure. 2005-05-05 16:36:44 -07:00
message
misc
mmc [PATCH] ISA DMA Kconfig fixes - part 3 2005-05-04 07:33:14 -07:00
mtd
net [PATCH] 3c59x: only put the device into D3 when we're actually using WOL 2005-05-05 16:36:40 -07:00
nubus
oprofile [PATCH] oprofile trivial user annotations 2005-04-26 07:43:42 -07:00
parisc
parport [PATCH] ISA_DMA Kconfig fixes - part 2 (parport_pc) 2005-05-04 07:33:13 -07:00
pci [PATCH] PCI: drivers/pci/pci.c: remove pci_dac_set_dma_mask 2005-05-03 23:45:17 -07:00
pcmcia [PATCH] pcmcia: yenta TI: align irq of func1 to func0 if INTRTIE is set 2005-05-05 16:36:43 -07:00
pnp [PATCH] drivers/pnp/pnpacpi/rsparser.c: fix an array overflow 2005-05-01 08:59:30 -07:00
s390 [PATCH] Change synchronize_kernel to _rcu and _sched 2005-05-01 08:59:04 -07:00
sbus
scsi [PATCH] ISA DMA Kconfig fixes - part 3 2005-05-04 07:33:14 -07:00
serial [PATCH] make lots of things static 2005-05-01 08:59:29 -07:00
sh
sn
tc
telephony
usb [PATCH] USB cypress_m8: update kernel driver with current source 2005-05-03 23:31:52 -07:00
video [PATCH] i810fb: fix __initdata access 2005-05-04 07:50:15 -07:00
w1
zorro
Kconfig
Makefile