V4L/DVB (13773): [Mantis] Enable all interrupts

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Manu Abraham 2009-12-04 05:27:53 -03:00 committed by Mauro Carvalho Chehab
parent 578413228a
commit c90d345fd7

View 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_data_wq);
init_waitqueue_head(&ca->hif_opdone_wq); init_waitqueue_head(&ca->hif_opdone_wq);
irqcfg = mmread(MANTIS_GPIF_IRQCFG); irqcfg = mmread(MANTIS_GPIF_IRQCFG);
irqcfg |= MANTIS_MASK_BRRDY; irqcfg = MANTIS_MASK_BRRDY |
irqcfg |= MANTIS_MASK_WRACK; MANTIS_MASK_WRACK |
MANTIS_MASK_EXTIRQ |
MANTIS_MASK_WSTO |
MANTIS_MASK_OTHERR |
MANTIS_MASK_OVFLW;
mmwrite(irqcfg, MANTIS_GPIF_IRQCFG); mmwrite(irqcfg, MANTIS_GPIF_IRQCFG);
return 0; return 0;