V4L/DVB (8701): cx18: Add missing lock for when the irq handler manipulates the queues
authorAndy Walls <awalls@radix.net>
Wed, 3 Sep 2008 19:47:50 +0000 (16:47 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 3 Sep 2008 21:36:43 +0000 (18:36 -0300)
commit0058717a1ef0c87deeccbe0a3b17def173fee9a9
tree54f6ec97deb79e8beba8098d64c52fbe9dfe7c2d
parent46f2c21cfdb1a829a9a23e23562ffa66b007dc48
V4L/DVB (8701): cx18: Add missing lock for when the irq handler manipulates the queues

cx18: Add missing lock for when the irq handler manipulates the queues.  This
was a potential source of stream queue corruption.  Also changed the name of
cx18_queue_find_buf() to cx18_queue_get_buf_irq().

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-irq.c
drivers/media/video/cx18/cx18-queue.c
drivers/media/video/cx18/cx18-queue.h