]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
V4L/DVB (13761): [Mantis] HIF I/O: Temporary workaround, use SBUF_OPDONE flag instead
authorManu Abraham <abraham.manu@gmail.com>
Fri, 4 Dec 2009 08:21:51 +0000 (05:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Jan 2010 13:55:37 +0000 (11:55 -0200)
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>
drivers/media/dvb/mantis/mantis_evm.c

index 469571508d13b83453a8f567eb31f105234e2c02..532bcfff5ae6b2deae36614bf2acc0e53db3ed71 100644 (file)
@@ -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);
        }
 }