diff options
author | Shengjiu Wang <b02247@freescale.com> | 2014-04-21 06:25:14 -0400 |
---|---|---|
committer | Shengjiu Wang <b02247@freescale.com> | 2014-04-21 06:32:27 -0400 |
commit | 56749d673fd4ad0216e3c40d34eda0e26a4f98ce (patch) | |
tree | 15ef4c507ff1690f28e390df92ffa3c6685cd6aa /sound/soc/fsl | |
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/soc/fsl')
-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) | |||
120 | */ | 120 | */ |
121 | slave_config.direction = DMA_DEV_TO_DEV; | 121 | slave_config.direction = DMA_DEV_TO_DEV; |
122 | slave_config.src_addr_width = buswidth; | 122 | slave_config.src_addr_width = buswidth; |
123 | slave_config.src_maxburst = dma_params_be->maxburst * 2; | 123 | slave_config.src_maxburst = dma_params_be->maxburst; |
124 | slave_config.dst_addr_width = buswidth; | 124 | slave_config.dst_addr_width = buswidth; |
125 | slave_config.dst_maxburst = dma_params_be->maxburst * 2; | 125 | slave_config.dst_maxburst = dma_params_be->maxburst; |
126 | slave_config.dma_request0 = be_filter_data->dma_request0; | 126 | slave_config.dma_request0 = be_filter_data->dma_request0; |
127 | 127 | ||
128 | if (playback) { | 128 | if (playback) { |