]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl_spdif: Disable TX clock when stop
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 10 Mar 2022 02:37:43 +0000 (10:37 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 10 Mar 2022 12:17:50 +0000 (12:17 +0000)
commit4616453cce69c7fc75e3e76d5b5e437c4275e155
tree43763354397d148110dc5b85d7e69f6acf4073f8
parentd60f00d3020262561a8b364568bc6d32d8c3a44d
ASoC: fsl_spdif: Disable TX clock when stop

The TX clock source may be changed in next case, need to
disable it when stop, otherwise the TX may not work after
changing the clock source, error log is:

aplay: pcm_write:2058: write error: Input/output error

Fixes: 6fd13e9ce3c1 ("ASoC: fsl: Add S/PDIF CPU DAI driver")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/1646879863-27711-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_spdif.c