Commit a6311d27 authored by Peter Griffin's avatar Peter Griffin Committed by Mauro Carvalho Chehab

[media] c8sectpfe: Fix broken circular buffer wp management

During the review process, a regression was intoduced in the
circular buffer write pointer management. This means that wp
doesn't get managed properly once the buffer becomes full.
Signed-off-by: default avatarPeter Griffin <peter.griffin@linaro.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent a022f934
...@@ -130,7 +130,7 @@ static void channel_swdemux_tsklet(unsigned long data) ...@@ -130,7 +130,7 @@ static void channel_swdemux_tsklet(unsigned long data)
writel(channel->back_buffer_busaddr, channel->irec + writel(channel->back_buffer_busaddr, channel->irec +
DMA_PRDS_BUSRP_TP(0)); DMA_PRDS_BUSRP_TP(0));
else else
writel(wp, channel->irec + DMA_PRDS_BUSWP_TP(0)); writel(wp, channel->irec + DMA_PRDS_BUSRP_TP(0));
} }
static int c8sectpfe_start_feed(struct dvb_demux_feed *dvbdmxfeed) static int c8sectpfe_start_feed(struct dvb_demux_feed *dvbdmxfeed)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment