summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/mantis/mantis_cards.c
diff options
context:
space:
mode:
authorMarko Ristola2010-08-07 13:16:15 +0200
committerMauro Carvalho Chehab2011-09-25 13:43:06 +0200
commit79d06d4dff733ee472e1f8933a33317a18195c0c (patch)
treedfede2845ccd5d1505e5fd5f60a0ad92be4e64a2 /drivers/media/dvb/mantis/mantis_cards.c
parent[media] stb0899: Removed an extra byte sent at init on DiSEqC bus (diff)
downloadkernel-qcow2-linux-79d06d4dff733ee472e1f8933a33317a18195c0c.tar.gz
kernel-qcow2-linux-79d06d4dff733ee472e1f8933a33317a18195c0c.tar.xz
kernel-qcow2-linux-79d06d4dff733ee472e1f8933a33317a18195c0c.zip
[media] Refactor Mantis DMA transfer to deliver 16Kb TS data per interrupt
With VDR streaming HDTV into network, generating an interrupt once per 16kb, implemented in this patch, seems to support more robust throughput with HDTV. Fix leaking almost 64kb data from the previous TS after changing the TS. One effect of the old version was, that the DMA transfer and driver's DMA buffer access might happen at the same time - a race condition. Signed-off-by: Marko M. Ristola <marko.ristola@kolumbus.fi> Reviewed-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/mantis/mantis_cards.c')
-rw-r--r--drivers/media/dvb/mantis/mantis_cards.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/mantis/mantis_cards.c b/drivers/media/dvb/mantis/mantis_cards.c
index e6c8368782e0..c2bb90b3e529 100644
--- a/drivers/media/dvb/mantis/mantis_cards.c
+++ b/drivers/media/dvb/mantis/mantis_cards.c
@@ -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) {