ASoC: cs42l42: Fix inversion of ADC Notch Switch control
[ Upstream commit 30615bd21b4cc3c3bb5ae8bd70e2a915cc5f75c7 ]
The underlying register field has inverted sense (0 = enabled) so
the control definition must be marked as inverted.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Fixes: 2c394ca796
("ASoC: Add support for CS42L42 codec")
Link: https://lore.kernel.org/r/20210803160834.9005-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
2386a8cde1
commit
b268f9f6b7
|
@ -435,7 +435,7 @@ static SOC_ENUM_SINGLE_DECL(cs42l42_wnf05_freq_enum, CS42L42_ADC_WNF_HPF_CTL,
|
|||
static const struct snd_kcontrol_new cs42l42_snd_controls[] = {
|
||||
/* ADC Volume and Filter Controls */
|
||||
SOC_SINGLE("ADC Notch Switch", CS42L42_ADC_CTL,
|
||||
CS42L42_ADC_NOTCH_DIS_SHIFT, true, false),
|
||||
CS42L42_ADC_NOTCH_DIS_SHIFT, true, true),
|
||||
SOC_SINGLE("ADC Weak Force Switch", CS42L42_ADC_CTL,
|
||||
CS42L42_ADC_FORCE_WEAK_VCM_SHIFT, true, false),
|
||||
SOC_SINGLE("ADC Invert Switch", CS42L42_ADC_CTL,
|
||||
|
|
Loading…
Reference in New Issue
Block a user