V4L/DVB (13773): [Mantis] Enable all interrupts
authorManu Abraham <abraham.manu@gmail.com>
Fri, 4 Dec 2009 08:27:53 +0000 (05:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Jan 2010 13:55:39 +0000 (11:55 -0200)
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/mantis/mantis_hif.c

index 151de2d687e2a27cf9d09f9a22cddb576ec7904f..fa4bb6dc3241594531be9f39542debf811748ffb 100644 (file)
@@ -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;