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)
commit30615bd21b4cc3c3bb5ae8bd70e2a915cc5f75c7
treeac85679267467200fca9c475929568f97dba4295
parent973b393fdf073a4ebd8d82ef6edea99fedc74af9
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: 2c394ca79604 ("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