Skip to content

Commit 27fd36a

Browse files
jayxurockchipbroonie
authored andcommitted
ASoC: rockchip: i2s: fix maxburst of dma data to 4
Since RK3288 DMAC's burst length only support max to 4, here set maxburst of playback and capture dma data to 4. Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 4db9c4a commit 27fd36a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sound/soc/rockchip/rockchip_i2s.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,11 +454,11 @@ static int rockchip_i2s_probe(struct platform_device *pdev)
454454

455455
i2s->playback_dma_data.addr = res->start + I2S_TXDR;
456456
i2s->playback_dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
457-
i2s->playback_dma_data.maxburst = 16;
457+
i2s->playback_dma_data.maxburst = 4;
458458

459459
i2s->capture_dma_data.addr = res->start + I2S_RXDR;
460460
i2s->capture_dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
461-
i2s->capture_dma_data.maxburst = 16;
461+
i2s->capture_dma_data.maxburst = 4;
462462

463463
i2s->dev = &pdev->dev;
464464
dev_set_drvdata(&pdev->dev, i2s);

0 commit comments

Comments
 (0)