V4L/DVB (13780): [Mantis] HIF I/O: Enable Interrupts for Read
authorSigmund Augdal <sigmund@snap.tv>
Fri, 4 Dec 2009 08:30:59 +0000 (05:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Jan 2010 13:55:40 +0000 (11:55 -0200)
Signed-off-by: Sigmund Augdal <sigmund@snap.tv>
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 dc50fac0d1556433d6c7549b60a12aa97fa3b2b1..323d1fb0a55e267654087cf64506ebc5f4ed0997 100644 (file)
@@ -149,6 +149,11 @@ int mantis_hif_read_iom(struct mantis_ca *ca, u32 addr)
        hif_addr |=  MANTIS_GPIF_PCMCIAIOM;
        hif_addr |=  addr;
 
+       mmwrite(hif_addr | MANTIS_HIF_STATUS, MANTIS_GPIF_BRADDR);
+       mmwrite(1, MANTIS_GPIF_BRBYTES);
+
+       udelay(20);
+
        mmwrite(hif_addr | MANTIS_HIF_STATUS, MANTIS_GPIF_ADDR);
 
        if (mantis_hif_sbuf_opdone_wait(ca) != 0) {