aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/cx18/cx18-irq.h
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-11-09 18:14:07 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 09:38:04 -0200
commitd20ceecd0c5370cfe6b6eee2f63fecb65222c747 (patch)
treebb6f74956d73d4208aaeaf35a9af82904da3997d /drivers/media/video/cx18/cx18-irq.h
parent2d1a1b055be8598dbcc8a7b905d07bcf05eaff3a (diff)
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>
Diffstat (limited to 'drivers/media/video/cx18/cx18-irq.h')
-rw-r--r--drivers/media/video/cx18/cx18-irq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/cx18/cx18-irq.h b/drivers/media/video/cx18/cx18-irq.h
index 6173ca3bc9e..6f3ec896376 100644
--- a/drivers/media/video/cx18/cx18-irq.h
+++ b/drivers/media/video/cx18/cx18-irq.h
@@ -28,6 +28,7 @@
#define SW1_INT_ENABLE_PCI 0xc7311c
#define SW2_INT_SET 0xc73140
#define SW2_INT_STATUS 0xc73144
+#define SW2_INT_ENABLE_CPU 0xc73158
#define SW2_INT_ENABLE_PCI 0xc7315c
irqreturn_t cx18_irq_handler(int irq, void *dev_id);