]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tas2764: Allow mono streams
authorMartin Povišer <povik+lin@cutebit.org>
Thu, 25 Aug 2022 14:02:37 +0000 (16:02 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 25 Aug 2022 16:59:56 +0000 (17:59 +0100)
commit024ac82035b7f857c63d9b36a78bb5ff91bbab0d
treed84dd03ad925fdab87ad61780077d4714826fddd
parent34a3249ab33a1690f58cd6e91a0208887337d3e0
ASoC: tas2764: Allow mono streams

The part is a mono speaker amp, but it can do downmix and switch between
left and right channel, so the right channel range is 1 to 2.

(This mirrors commit ac7308da7ed6 ("ASoC: tas2770: Allow mono streams")
which was a fix to the tas2770 driver.)

Fixes: ff5fd908f544 ("ASoC: tas2764: Add the driver for the TAS2764")
Signed-off-by: Martin Povišer <povik+lin@cutebit.org>
Link: https://lore.kernel.org/r/20220825140241.53963-2-povik+lin@cutebit.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2764.c