summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorSigmund Augdal <sigmund@snap.tv>2009-12-04 05:30:59 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 11:55:40 -0200
commitc63e507346c042af7fe26d49bbbdce9898ea3eea (patch)
tree8b62b64e4cbe3cc376bba7e7050c57f4b25ccdd0 /drivers/media
parent25e9eba42ce11a05933068cf6a42dd8d4ed5edb8 (diff)
downloadop-kernel-dev-c63e507346c042af7fe26d49bbbdce9898ea3eea.zip
op-kernel-dev-c63e507346c042af7fe26d49bbbdce9898ea3eea.tar.gz
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')
-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 dc50fac..323d1fb 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) {
OpenPOWER on IntegriCloud