]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs42l42: Fix inversion of ADC Notch Switch control
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Tue, 3 Aug 2021 16:08:33 +0000 (17:08 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 3 Aug 2021 17:23:43 +0000 (18:23 +0100)
commitb3af74a45e6c04082d9b2364a7863220b9735e6d
treeac85679267467200fca9c475929568f97dba4295
parent8c4c154e310b0a0f5dd0ed7eb219fc1452edc3e6
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 <rf@opensource.cirrus.com>
Fixes: 76df8a58a574 ("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>
sound/soc/codecs/cs42l42.c