summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorSugar Zhang <sugar.zhang@rock-chips.com>2019-04-04 11:48:11 +0800
committerMark Brown <broonie@kernel.org>2019-04-04 14:59:54 +0700
commit86a7b6ffd90095d81d9fa0d8b48955b7c83b2e2f (patch)
tree34be428662178f30ea32c8707d6d0e76651cd990 /sound
parentc85064435fe7a216ec0f0238ef2b8f7cd850a450 (diff)
downloadlinux-86a7b6ffd90095d81d9fa0d8b48955b7c83b2e2f.tar.bz2
ASoC: rockchip: pdm: change dma burst to 8
This patch decreases the transfer bursts to avoid the fifo overrun. Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/rockchip/rockchip_pdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/rockchip/rockchip_pdm.c b/sound/soc/rockchip/rockchip_pdm.c
index 8a2e3bbce3a1..d0b403a0e27b 100644
--- a/sound/soc/rockchip/rockchip_pdm.c
+++ b/sound/soc/rockchip/rockchip_pdm.c
@@ -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;