]> www.infradead.org Git - users/dwmw2/linux.git/commit
ASoC: fsl_xcvr: reset RX dpath after wrong preamble
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 8 Oct 2024 06:27:53 +0000 (14:27 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 22 Oct 2024 16:55:44 +0000 (17:55 +0100)
commit1e5d0f106164d2089826c16bb521891d1d06d3ad
tree23b33b1dcff36f48c8735ab83a9ac2577f691913
parent06461e288abcd6d67d0a870cd25731c79ebe66ab
ASoC: fsl_xcvr: reset RX dpath after wrong preamble

Below preamble error means wrong preamble of IEC958 received,
the channel order may be wrong at the moment.

FSL_XCVR_IRQ_PREAMBLE_MISMATCH
FSL_XCVR_IRQ_UNEXP_PRE_REC
FSL_XCVR_IRQ_M_W_PRE_MISMATCH
FSL_XCVR_IRQ_B_PRE_MISMATCH

All above errors may cause channel swap, to avoid such issues,
need to reset the DMAC path.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/1728368873-31379-3-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_xcvr.c
sound/soc/fsl/fsl_xcvr.h