From 0d27002a1799d4f5a39264000278ef626b249e93 Mon Sep 17 00:00:00 2001 From: Ralph Metzler Date: Fri, 10 Jun 2016 09:45:21 +0200 Subject: [PATCH] missing increment of buf for CI device reads --- ddbridge/ddbridge-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ddbridge/ddbridge-core.c b/ddbridge/ddbridge-core.c index fb2b3f8..2dd5f15 100644 --- a/ddbridge/ddbridge-core.c +++ b/ddbridge/ddbridge-core.c @@ -933,6 +933,7 @@ static size_t ddb_input_read(struct ddb_input *input, input->dma->num; } left -= free; + buf += free; ddbwritel(dev, (input->dma->cbuf << 11) | (input->dma->coff >> 7), DMA_BUFFER_ACK(input->dma));