]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl_xcvr: Fix channel swap issue with ARC
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 10 Sep 2021 09:18:30 +0000 (17:18 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 21 Sep 2021 12:23:36 +0000 (13:23 +0100)
commit1bc53264cf00f697a980aa376780a869311c6e97
tree9760d127c336b9af5750defbc79b8755b4636b59
parent89d23fcd862f25f08249b147e477cb0ab334ebe7
ASoC: fsl_xcvr: Fix channel swap issue with ARC

With pause and resume test for ARC, there is occasionally
channel swap issue. The reason is that currently driver set
the DPATH out of reset first, then start the DMA, the first
data got from FIFO may not be the Left channel.

Moving DPATH out of reset operation after the dma enablement
to fix this issue.

Fixes: 78ada18f9da6 ("ASoC: fsl_xcvr: Add XCVR ASoC CPU DAI driver")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1631265510-27384-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_xcvr.c