ASoC: tlv320aic32x4: Fix TAS2505/TAS2521 channel count
authorMarek Vasut <marex@denx.de>
Thu, 8 Jul 2021 09:12:29 +0000 (11:12 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 11 Jul 2021 22:48:39 +0000 (23:48 +0100)
commit3694f996be5cb8374bd224f4e5462c945d359843
treea21c334ee763ce73bd0d8b06e29451df35cedf07
parent8620c40002db9679279546cc3be2aceb8c5e5e76
ASoC: tlv320aic32x4: Fix TAS2505/TAS2521 channel count

The TAS2505/TAS2521 does support up to two channels, LEFT and RIGHT,
which are being alternated on the audio data bus by Word Clock, WCLK.
This is documented in TI slau472 2.7.1 Digital Audio Interface. Note
that both the LEFT and RIGHT channels are only used for audio INPUT,
while only the LEFT channel is used for audio OUTPUT.

Fixes: b4525b6196cd7 ("ASoC: tlv320aic32x4: add support for TAS2505")
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Claudius Heine <ch@denx.de>
Cc: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210708091229.56443-1-marex@denx.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic32x4.c