aboutsummaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorManu Abraham2009-12-04 05:27:53 -0300
committerMauro Carvalho Chehab2010-01-17 11:55:39 -0200
commitc90d345fd7d66899d743611a47163f9904df90bc (patch)
tree5d6cdd299c2e133381bfc1c78bab78180d0c7db6 /drivers/media
parent578413228ae72a09b29bf29e879e5b919ded0ac4 (diff)
V4L/DVB (13773): [Mantis] Enable all interrupts
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/mantis/mantis_hif.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/drivers/media/dvb/mantis/mantis_hif.c b/drivers/media/dvb/mantis/mantis_hif.c
index 151de2d687e2..fa4bb6dc3241 100644
--- a/drivers/media/dvb/mantis/mantis_hif.c
+++ b/drivers/media/dvb/mantis/mantis_hif.c
@@ -182,9 +182,14 @@ int mantis_hif_init(struct mantis_ca *ca)
init_waitqueue_head(&ca->hif_data_wq);
init_waitqueue_head(&ca->hif_opdone_wq);
- irqcfg = mmread(MANTIS_GPIF_IRQCFG);
- irqcfg |= MANTIS_MASK_BRRDY;
- irqcfg |= MANTIS_MASK_WRACK;
+ irqcfg = mmread(MANTIS_GPIF_IRQCFG);
+ irqcfg = MANTIS_MASK_BRRDY |
+ MANTIS_MASK_WRACK |
+ MANTIS_MASK_EXTIRQ |
+ MANTIS_MASK_WSTO |
+ MANTIS_MASK_OTHERR |
+ MANTIS_MASK_OVFLW;
+
mmwrite(irqcfg, MANTIS_GPIF_IRQCFG);
return 0;