aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-driver.h
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-11-17 20:48:46 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 06:38:10 -0500
commitd6c7e5f8faad080e75bace5c4f2265e3513e3510 (patch)
treeec798a9f5644a005432ea3c435c8d563c2cc5abd /drivers/media/video/cx18/cx18-driver.h
parent3f75c6161f28e6a17c547daf552c1127c805c5e7 (diff)
V4L/DVB (9725): cx18: Remove unnecessary MMIO accesses in time critical irq handling path
Remove unnecessary MMIO accesses in time critical irq handling path. Also ensured that the mailbox ack field is read in last, so we know for sure if we have a stale mailbox or not on receipt. 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-driver.h')
-rw-r--r--drivers/media/video/cx18/cx18-driver.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.h b/drivers/media/video/cx18/cx18-driver.h
index 02a82c3b7a32..cad352aeb837 100644
--- a/drivers/media/video/cx18/cx18-driver.h
+++ b/drivers/media/video/cx18/cx18-driver.h
@@ -446,6 +446,10 @@ struct cx18 {
446 /* when the current DMA is finished this queue is woken up */ 446 /* when the current DMA is finished this queue is woken up */
447 wait_queue_head_t dma_waitq; 447 wait_queue_head_t dma_waitq;
448 448
449 u32 sw1_irq_mask;
450 u32 sw2_irq_mask;
451 u32 hw2_irq_mask;
452
449 struct cx18_epu_work_order epu_work_order[CX18_MAX_EPU_WORK_ORDERS]; 453 struct cx18_epu_work_order epu_work_order[CX18_MAX_EPU_WORK_ORDERS];
450 char epu_debug_str[256]; /* CX18_EPU_DEBUG is rare: use shared space */ 454 char epu_debug_str[256]; /* CX18_EPU_DEBUG is rare: use shared space */
451 455