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>
This commit is contained in:
parent
c85064435f
commit
86a7b6ffd9
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
#include "rockchip_pdm.h"
|
#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 rk_pdm_dev {
|
||||||
struct device *dev;
|
struct device *dev;
|
||||||
|
|
Loading…
Reference in New Issue