aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-driver.h
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-11-16 18:18:05 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 06:38:08 -0500
commitf576ceefb481e5617ecfb77e3a05b3d26dbf2f92 (patch)
treed85b78c6ee7c5a4f52d6b8d6bcba87d00be8d0b0 /drivers/media/video/cx18/cx18-driver.h
parent18b5dc2ed7f0ede825dd1f93fefc7a61aba866e3 (diff)
V4L/DVB (9722): cx18: Convert per stream queue spinlocks into mutexes
Convert the per stream queue spinlocks into mutexes. All queue manipulation happens via the work queue or system calls into the driver, and not in an interrupt context. This reduces the amout of time the cx18 driver keeps interrupts disabled. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-driver.h')
-rw-r--r--drivers/media/video/cx18/cx18-driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.h b/drivers/media/video/cx18/cx18-driver.h
index f8929eb72ad..041fa660a7c 100644
--- a/drivers/media/video/cx18/cx18-driver.h
+++ b/drivers/media/video/cx18/cx18-driver.h
@@ -271,7 +271,7 @@ struct cx18_stream {
271 unsigned mdl_offset; 271 unsigned mdl_offset;
272 272
273 u32 id; 273 u32 id;
274 spinlock_t qlock; /* locks access to the queues */ 274 struct mutex qlock; /* locks access to the queues */
275 unsigned long s_flags; /* status flags, see above */ 275 unsigned long s_flags; /* status flags, see above */
276 int dma; /* can be PCI_DMA_TODEVICE, 276 int dma; /* can be PCI_DMA_TODEVICE,
277 PCI_DMA_FROMDEVICE or 277 PCI_DMA_FROMDEVICE or