Skip to content

Commit

Permalink
ASoC: rockchip: pdm: change dma burst to 8
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sugar Zhang authored and Mark Brown committed Apr 4, 2019
1 parent c850644 commit 86a7b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/rockchip/rockchip_pdm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 86a7b6f

Please sign in to comment.