Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 86a7b6ff authored by Sugar Zhang's avatar Sugar Zhang Committed by Mark Brown
Browse files

ASoC: rockchip: pdm: change dma burst to 8



This patch decreases the transfer bursts to avoid the fifo overrun.

Signed-off-by: default avatarSugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c8506443
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@

#include "rockchip_pdm.h"

#define PDM_DMA_BURST_SIZE	(16) /* size * width: 16*4 = 64 bytes */
#define PDM_DMA_BURST_SIZE	(8) /* size * width: 8*4 = 32 bytes */

struct rk_pdm_dev {
	struct device *dev;