diff options
author | Sugar Zhang <sugar.zhang@rock-chips.com> | 2019-04-04 05:48:11 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-04-04 09:59:54 +0200 |
commit | 86a7b6ffd90095d81d9fa0d8b48955b7c83b2e2f (patch) | |
tree | 34be428662178f30ea32c8707d6d0e76651cd990 /sound | |
parent | ASoC: rockchip: pdm: fix regmap_ops hang issue (diff) | |
download | linux-86a7b6ffd90095d81d9fa0d8b48955b7c83b2e2f.tar.xz linux-86a7b6ffd90095d81d9fa0d8b48955b7c83b2e2f.zip |
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.c | 2 |
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; |