]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2022 07:57:18 +0000 (09:57 +0200)
commit9575bd32c344622ba77067e000e7e393c588a46f
tree260e140aead11aa90d38e6724798a382ebdba0df
parent1f35a8afe8db7d921d074ad87c485b7ad878f7d2
ASoC: tas2764: Allow mono streams

[ Upstream commit 23204d928a27146d13e11c9383632775345ecca8 ]

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 bf54d97a835d ("ASoC: tas2770: Allow mono streams")
which was a fix to the tas2770 driver.)

Fixes: 827ed8a0fa50 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/tas2764.c