V4L/DVB (9598): cx18: Prevent CX23418 from clearing it's outgoing ack interrupts...
authorAndy Walls <awalls@radix.net>
Sun, 9 Nov 2008 21:14:07 +0000 (18:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:38:04 +0000 (09:38 -0200)
commitd20ceecd0c5370cfe6b6eee2f63fecb65222c747
treebb6f74956d73d4208aaeaf35a9af82904da3997d
parent2d1a1b055be8598dbcc8a7b905d07bcf05eaff3a
V4L/DVB (9598): cx18: Prevent CX23418 from clearing it's outgoing ack interrupts to driver

When the CX23418 CPU unit sent out an ack interrupt to the linux driver, it
also received that interrupt and cleared the flag before the linux driver could
see what the interrupt was for.  This fix prevents the CPU from receiving an
IRQ for it's own outgoing ack's to the linux driver.  This fix is critical now
that the linux driver doesn't poll but relies on these ack interrupts.

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