]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl_spdif: Clear the validity bit for TX
authorShengjiu Wang <shengjiu.wang@nxp.com>
Tue, 7 Jul 2020 08:54:25 +0000 (16:54 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 10 Jul 2020 14:29:48 +0000 (15:29 +0100)
commit8ffc39d237c0aaf02978aee74ce7fbac6f30d3ca
tree6fd3d9120016efd5473f1ed58b8900badf15ef8d
parent724c6edf9721a3549289edc2eed6b27417d3a290
ASoC: fsl_spdif: Clear the validity bit for TX

In IEC958 spec, "The validity bit is logical "0" if the
information in the main data field is reliable, and it
is logical "1" if it is not".

The default value of "ValCtrl" is zero, which means
"Outgoing Validity always set", then all the data is not
reliable, then some spdif sink device will drop the data.

So set "ValCtrl" to 1, that is to clear "Outgoing Validity"
in default.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1594112066-31297-2-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_spdif.c