From: Sigmund Augdal Date: Fri, 4 Dec 2009 08:30:59 +0000 (-0300) Subject: V4L/DVB (13780): [Mantis] HIF I/O: Enable Interrupts for Read X-Git-Tag: v3.0~6177^2~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c63e507346c042af7fe26d49bbbdce9898ea3eea;p=platform%2Fkernel%2Flinux-amlogic.git V4L/DVB (13780): [Mantis] HIF I/O: Enable Interrupts for Read Signed-off-by: Sigmund Augdal Signed-off-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab --- 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) {