]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/media/dvb/mantis/mantis_cards.c
[media] Refactor Mantis DMA transfer to deliver 16Kb TS data per interrupt
[karo-tx-linux.git] / drivers / media / dvb / mantis / mantis_cards.c
index 05cbb9d95727f942194f392a6a76bba951726a84..c2bb90b3e52998f424a8dcb13fb4d3098bc6efdc 100644 (file)
@@ -73,7 +73,7 @@ static char *label[10] = {
 
 static irqreturn_t mantis_irq_handler(int irq, void *dev_id)
 {
-       u32 stat = 0, mask = 0, lstat = 0, mstat = 0;
+       u32 stat = 0, mask = 0, lstat = 0;
        u32 rst_stat = 0, rst_mask = 0;
 
        struct mantis_pci *mantis;
@@ -88,7 +88,7 @@ static irqreturn_t mantis_irq_handler(int irq, void *dev_id)
 
        stat = mmread(MANTIS_INT_STAT);
        mask = mmread(MANTIS_INT_MASK);
-       mstat = lstat = stat & ~MANTIS_INT_RISCSTAT;
+       lstat = stat & ~MANTIS_INT_RISCSTAT;
        if (!(stat & mask))
                return IRQ_NONE;
 
@@ -134,7 +134,7 @@ static irqreturn_t mantis_irq_handler(int irq, void *dev_id)
        }
        if (stat & MANTIS_INT_RISCI) {
                dprintk(MANTIS_DEBUG, 0, "<%s>", label[8]);
-               mantis->finished_block = (stat & MANTIS_INT_RISCSTAT) >> 28;
+               mantis->busy_block = (stat & MANTIS_INT_RISCSTAT) >> 28;
                tasklet_schedule(&mantis->tasklet);
        }
        if (stat & MANTIS_INT_I2CDONE) {