]> 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)
commitecabab880878b2f9afab39cfd721d0d471250e74
treeb3b3b6210a951f6ae1be3167013c71e811154e6d
parent71f36c391cf3c254e06d9fa9e1d7f7e225937fd6
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: 29baeb11b8344 ("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