]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sun8i-codec: Add a quirk for LRCK inversion
authorSamuel Holland <samuel@sholland.org>
Sun, 26 Jul 2020 01:25:54 +0000 (20:25 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 17 Aug 2020 14:21:57 +0000 (15:21 +0100)
commit6271ad80772c5466513534d71f1a5af73a65f2be
treeb416266cf146cca551534b999f6c840ef37c42a2
parentfc0887e291d964d753269288905b1b38a15c7bb7
ASoC: sun8i-codec: Add a quirk for LRCK inversion

On the A64, as tested using the PinePhone, the current code causes the
left/right channels to be swapped during I2S playback from the CPU on
AIF1, and breaks DSP_A communication with the modem on AIF2. Both of
these are fixed when LRCK is no longer inverted.

Trusting that the comment in the code is correct, the existing behavior
is kept for the A33.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20200726012557.38282-5-samuel@sholland.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sunxi/sun8i-codec.c