linux/drivers/media/dvb
Matthias Dahl d7e43844e4 V4L/DVB (9054): implement proper locking in the dvb ca en50221 driver
Concurrent access to a single DVB CA 50221 interface slot is generally
discouraged. The underlying drivers (budget-av, budget-ci) do not implement
proper locking and thus two transactions could (and do) interfere with on
another.

This fixes the following problems seen by others and myself:

 - sudden i/o errors when writing to the ci device which usually would
   result in an undefined state of the hw and require a software restart

 - errors about the CAM trying to send a buffer larger than the agreed size
   usually also resulting in an undefined state of the hw

Due the to design of the DVB CA 50221 driver, implementing the locks in the
underlying drivers would not be enough and still leave some race conditions,
even though they were harder to trigger.

Signed-off-by: Matthias Dahl <devel@mortal-soul.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-01-29 08:35:37 -02:00
..
b2c2 V4L/DVB (9811): Add support for the CX24113 DVB-S tuner driver 2008-12-30 09:38:34 -02:00
bt8xx Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2008-12-28 12:49:40 -08:00
dm1105 V4L/DVB (10189): dm1105: Fix build with INPUT=m and DVB_DM1105=y 2009-01-07 22:18:56 -02:00
dvb-core V4L/DVB (9054): implement proper locking in the dvb ca en50221 driver 2009-01-29 08:35:37 -02:00
dvb-usb V4L/DVB (10195): [PATCH] add Terratec Cinergy T Express to dibcom driver 2009-01-29 08:35:36 -02:00
frontends Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2009-01-07 17:22:04 -08:00
pluto2 net: convert more to %pM 2008-10-27 17:47:26 -07:00
siano V4L/DVB (10168): sms1xxx: fix inverted gpio for lna control on tiger r2 2009-01-02 17:15:14 -02:00
ttpci Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2009-01-07 17:22:04 -08:00
ttusb-budget V4L/DVB (10149): ttusb-budget: make it depend on PCI 2009-01-02 17:12:21 -02:00
ttusb-dec V4L/DVB (10150): ttusb-dec: make it depend on PCI 2009-01-02 17:12:24 -02:00
Kconfig V4L/DVB (9361): Dynamic DVB minor allocation 2008-12-29 17:53:12 -02:00
Makefile V4L/DVB (9107): Alternative version of Terratec Cinergy T2 driver 2008-10-12 09:37:14 -02:00