diff options
author | Shengjiu Wang <b02247@freescale.com> | 2014-04-21 18:25:14 +0800 |
---|---|---|
committer | Shengjiu Wang <b02247@freescale.com> | 2014-04-21 18:32:27 +0800 |
commit | 56749d673fd4ad0216e3c40d34eda0e26a4f98ce (patch) | |
tree | 15ef4c507ff1690f28e390df92ffa3c6685cd6aa /sound | |
parent | 9b5b98b69201135fef0500907ecb3320b128ef0f (diff) |
ENGR00309566 ASoC: fsl: fix maxburst is not accurate
The src_maxburst and dst_maxburst means the watermark level for
p2p, no need to be scaled.
Signed-off-by: Shengjiu Wang <b02247@freescale.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/fsl/fsl_asrc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/fsl/fsl_asrc.c b/sound/soc/fsl/fsl_asrc.c index 6dd2d4a9bbff..10f19ee95482 100644 --- a/sound/soc/fsl/fsl_asrc.c +++ b/sound/soc/fsl/fsl_asrc.c @@ -120,9 +120,9 @@ static int asrc_p2p_request_channel(struct snd_pcm_substream *substream) */ slave_config.direction = DMA_DEV_TO_DEV; slave_config.src_addr_width = buswidth; - slave_config.src_maxburst = dma_params_be->maxburst * 2; + slave_config.src_maxburst = dma_params_be->maxburst; slave_config.dst_addr_width = buswidth; - slave_config.dst_maxburst = dma_params_be->maxburst * 2; + slave_config.dst_maxburst = dma_params_be->maxburst; slave_config.dma_request0 = be_filter_data->dma_request0; if (playback) { |