V4L/DVB (9722): cx18: Convert per stream queue spinlocks into mutexes
authorAndy Walls <awalls@radix.net>
Sun, 16 Nov 2008 23:18:05 +0000 (20:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:38:08 +0000 (09:38 -0200)
commitf576ceefb481e5617ecfb77e3a05b3d26dbf2f92
treed85b78c6ee7c5a4f52d6b8d6bcba87d00be8d0b0
parent18b5dc2ed7f0ede825dd1f93fefc7a61aba866e3
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>
drivers/media/video/cx18/cx18-driver.h
drivers/media/video/cx18/cx18-queue.c
drivers/media/video/cx18/cx18-streams.c