Skip to content

Commit

Permalink
V4L/DVB (13780): [Mantis] HIF I/O: Enable Interrupts for Read
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sigmund Augdal authored and Mauro Carvalho Chehab committed Jan 17, 2010
1 parent 25e9eba commit c63e507
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/media/dvb/mantis/mantis_hif.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c63e507

Please sign in to comment.