summaryrefslogtreecommitdiff
path: root/drivers/media/dvb/mantis/mantis_evm.c
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-04 11:21:51 +0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 16:55:37 +0300
commitcc0e4aacaf4c3660fa759ce1299377baaf9efd8b (patch)
tree9011d81dc0be6242a5ce17aa70eafb90961dd1f0 /drivers/media/dvb/mantis/mantis_evm.c
parent86c75c5c2b9318f4b3218615ada18badabd3f166 (diff)
downloadlinux-cc0e4aacaf4c3660fa759ce1299377baaf9efd8b.tar.xz
V4L/DVB (13761): [Mantis] HIF I/O: Temporary workaround, use SBUF_OPDONE flag instead
Dnumgis got hit with this bug, using a temporary workaround for the time being rather than digging deep at this point. Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/mantis/mantis_evm.c')
-rw-r--r--drivers/media/dvb/mantis/mantis_evm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/dvb/mantis/mantis_evm.c b/drivers/media/dvb/mantis/mantis_evm.c
index 469571508d13..532bcfff5ae6 100644
--- a/drivers/media/dvb/mantis/mantis_evm.c
+++ b/drivers/media/dvb/mantis/mantis_evm.c
@@ -68,8 +68,6 @@ static void mantis_hifevm_work(struct work_struct *work)
if (gpif_stat & MANTIS_GPIF_BRRDY) {
dprintk(verbose, MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): Smart Buffer Read Ready", mantis->num);
- ca->sbuf_status = MANTIS_SBUF_DATA_AVAIL;
- dvb_ca_en50221_frda_irq(&ca->en50221, 0);
}
if (gpif_stat & MANTIS_GPIF_WRACK)
dprintk(verbose, MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): Slave Write ACK", mantis->num);
@@ -82,7 +80,8 @@ static void mantis_hifevm_work(struct work_struct *work)
if (gpif_stat & MANTIS_SBUF_OPDONE) {
dprintk(verbose, MANTIS_DEBUG, 1, "Event Mgr: Adapter(%d) Slot(0): Smart Buffer operation complete", mantis->num);
-
+ ca->sbuf_status = MANTIS_SBUF_DATA_AVAIL;
+ dvb_ca_en50221_frda_irq(&ca->en50221, 0);
}
}