diff options
author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2018-09-28 15:33:34 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 15:54:06 +0800 |
commit | f2fa8b69e55c0e1eb5beae0a5d766b54d3b486d7 (patch) | |
tree | 2a0a506ccdabc84f86de5932016b0d8abe9c177d /sound/soc/fsl/fsl_sai.c | |
parent | a9534c8c988eee970cd9adca9bb075ac8e5eadd4 (diff) |
MLK-15975-3: ASoC: fsl_sai: The offset of fifo_off is changed
Commit 786c8bd56324 ("MLK-19734-3: dmaengine: imx-sdma: change
fifo offset of fifo_num") change the offset of fifo_off, so
the sai driver need to be updated.
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
(cherry picked from commit c94ce8776e01f1f40a866d4da89603ab042dde0f)
Diffstat (limited to 'sound/soc/fsl/fsl_sai.c')
-rw-r--r-- | sound/soc/fsl/fsl_sai.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c index 70a0e772af1e..5614c1baa1cd 100644 --- a/sound/soc/fsl/fsl_sai.c +++ b/sound/soc/fsl/fsl_sai.c @@ -726,19 +726,19 @@ static int fsl_sai_hw_params(struct snd_pcm_substream *substream, FSL_SAI_MAXBURST_TX * pins; if (sai->is_dsd) sai->dma_params_tx.fifo_num = pins + - (sai->dataline_off_dsd[tx] << 8); + (sai->dataline_off_dsd[tx] << 4); else sai->dma_params_tx.fifo_num = pins + - (sai->dataline_off[tx] << 8); + (sai->dataline_off[tx] << 4); } else { sai->dma_params_rx.maxburst = FSL_SAI_MAXBURST_RX * pins; if (sai->is_dsd) sai->dma_params_rx.fifo_num = pins + - (sai->dataline_off_dsd[tx] << 8); + (sai->dataline_off_dsd[tx] << 4); else sai->dma_params_rx.fifo_num = pins + - (sai->dataline_off[tx] << 8); + (sai->dataline_off[tx] << 4); } } |