Skip to content

Commit 30615bd

Browse files
rfvirgilbroonie
authored andcommitted
ASoC: cs42l42: Fix inversion of ADC Notch Switch control
The underlying register field has inverted sense (0 = enabled) so the control definition must be marked as inverted. Signed-off-by: Richard Fitzgerald <[email protected]> Fixes: 2c394ca ("ASoC: Add support for CS42L42 codec") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 973b393 commit 30615bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/codecs/cs42l42.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ static SOC_ENUM_SINGLE_DECL(cs42l42_wnf05_freq_enum, CS42L42_ADC_WNF_HPF_CTL,
437437
static const struct snd_kcontrol_new cs42l42_snd_controls[] = {
438438
/* ADC Volume and Filter Controls */
439439
SOC_SINGLE("ADC Notch Switch", CS42L42_ADC_CTL,
440-
CS42L42_ADC_NOTCH_DIS_SHIFT, true, false),
440+
CS42L42_ADC_NOTCH_DIS_SHIFT, true, true),
441441
SOC_SINGLE("ADC Weak Force Switch", CS42L42_ADC_CTL,
442442
CS42L42_ADC_FORCE_WEAK_VCM_SHIFT, true, false),
443443
SOC_SINGLE("ADC Invert Switch", CS42L42_ADC_CTL,

0 commit comments

Comments
 (0)