]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs42l42: Ensure 0dB full scale volume is used for headsets
authorStefan Binding <sbinding@opensource.cirrus.com>
Mon, 11 Oct 2021 14:49:03 +0000 (15:49 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 12 Oct 2021 10:48:39 +0000 (11:48 +0100)
commit9f85bdd096983130b66e0719f8f19516afc745d0
tree7ed623cf2e5ab7015468c5a1be3ad05702c05730
parenta4645d03bba715d57b63823f6411e19e7d221cba
ASoC: cs42l42: Ensure 0dB full scale volume is used for headsets

Ensure the default 0dB playback path is always used.

The code that set FULL_SCALE_VOL based on LOAD_DET_RCSTAT was
spurious, and resulted in a -6dB attenuation being accidentally
inserted into the playback path.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20211011144903.28915-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l42.c