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)
commitaa18457c4af7a9dad1f2b150b11beae1d8ab57aa
tree7ed623cf2e5ab7015468c5a1be3ad05702c05730
parentc448b7aa3e66042fc0f849d9a0fb90d1af82e948
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