]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tlv320aic32x4: Fix TAS2505 volume controls
authorMarek Vasut <marex@denx.de>
Thu, 8 Jul 2021 09:12:55 +0000 (11:12 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 11 Jul 2021 22:44:31 +0000 (23:44 +0100)
commitb11adfc8cdceb6cd98a35f6fd746a4f514ea8f9a
treeb3b3b6210a951f6ae1be3167013c71e811154e6d
parent2b6a2343f67a26e8d538708e607ea6ec22a88e12
ASoC: tlv320aic32x4: Fix TAS2505 volume controls

None of the TAS2505 outputs are stereo, do not pretend they are by
implementing them using SOC*DOUBLE* macros referencing the same
register twice, use SOC*SINGLE* instead. Fix volume ranges and mute
control for the codec according to datasheet.

Fixes: bd12df1e1b625 ("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/20210708091255.56502-1-marex@denx.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic32x4.c