forked from Minki/linux
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:
parent
578413228a
commit
c90d345fd7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user