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)
commit74b7ee0e7b61838a0a161a84d105aeff0d042646
tree9760d127c336b9af5750defbc79b8755b4636b59
parent3f4b57ad07d9237acf1b8cff3f8bf530cacef87a
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: 28564486866f ("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