summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/mantis
diff options
context:
space:
mode:
authorSigmund Augdal <sigmund@snap.tv>2009-12-04 09:30:59 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 14:55:40 +0100
commitc63e507346c042af7fe26d49bbbdce9898ea3eea (patch)
tree8b62b64e4cbe3cc376bba7e7050c57f4b25ccdd0 /drivers/media/dvb/mantis
parentV4L/DVB (13779): [Mantis] Missing wakeup for write queue (diff)
downloadlinux-c63e507346c042af7fe26d49bbbdce9898ea3eea.tar.xz
linux-c63e507346c042af7fe26d49bbbdce9898ea3eea.zip
V4L/DVB (13780): [Mantis] HIF I/O: Enable Interrupts for Read
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>
Diffstat (limited to 'drivers/media/dvb/mantis')
-rw-r--r--drivers/media/dvb/mantis/mantis_hif.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/dvb/mantis/mantis_hif.c b/drivers/media/dvb/mantis/mantis_hif.c
index dc50fac0d155..323d1fb0a55e 100644
--- a/drivers/media/dvb/mantis/mantis_hif.c
+++ b/drivers/media/dvb/mantis/mantis_hif.c
@@ -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) {