V4L/DVB (9593): cx18: Add outgoing mailbox mutexes and check for ack via waitq vs...
authorAndy Walls <awalls@radix.net>
Thu, 6 Nov 2008 04:15:41 +0000 (01:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:38:02 +0000 (09:38 -0200)
commit72c2d6d3ac91d1b9efb482ff4a8dd68e3d867965
tree0e80f865ac4763e30eb7777360fbf3d860b140f0
parentf68d0cf56761128e85ebc98d8de4776b89c30279
V4L/DVB (9593): cx18: Add outgoing mailbox mutexes and check for ack via waitq vs poll

Add mutexes to ensure exclusive access for outgoing driver to CX23418 mailboxes.
Also wait on a waitq for mailbox acknowledgement from the CX23418 instead of
polling.

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