summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx18-io.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-09-26 11:29:03 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-09-26 11:29:03 +0200
commitc20af2106a755d11b45e19ade56a98fa8bf6ca29 (patch)
treecb0b6bcb65837e116efabc2ffa24c1c3ba97a8c1 /linux/drivers/media/video/cx18/cx18-io.h
parent64c3e9edd4ec8939176b23508522c913333d4464 (diff)
downloadmediapointer-dvb-s2-c20af2106a755d11b45e19ade56a98fa8bf6ca29.tar.gz
mediapointer-dvb-s2-c20af2106a755d11b45e19ade56a98fa8bf6ca29.tar.bz2
implement proper locking in the dvb ca en50221 driver
From: Matthias Dahl <mldvb@mortal-soul.de> 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>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-io.h')
0 files changed, 0 insertions, 0 deletions