aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2009-12-04 05:21:51 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-01-17 11:55:37 -0200
commitcc0e4aacaf4c3660fa759ce1299377baaf9efd8b (patch)
tree9011d81dc0be6242a5ce17aa70eafb90961dd1f0
parent86c75c5c2b9318f4b3218615ada18badabd3f166 (diff)
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>
-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 469571508d1..532bcfff5ae 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);
}
}