]> 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)
commita0648415727e48b28d45fad7e935dddae9e6904d
tree9760d127c336b9af5750defbc79b8755b4636b59
parentea80c3b8c5124dee5fa965476902c97059213454
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: 48990732a874 ("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