Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c935386 authored by Daniel Mack's avatar Daniel Mack Committed by Mark Brown
Browse files

ASoC: cs4270: fix Master Capture Switch polarity



The control modifies the MUTE register, hence the polarity must be
inverted.

Signed-off-by: default avatarDaniel Mack <daniel@caiaq.de>
Acked-By: default avatarTimur Tabi <timur@freescale.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 0b5e92c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -486,7 +486,7 @@ static const struct snd_kcontrol_new cs4270_snd_controls[] = {
	SOC_SINGLE("Zero Cross Switch", CS4270_TRANS, 5, 1, 0),
	SOC_SINGLE("Popguard Switch", CS4270_MODE, 0, 1, 1),
	SOC_SINGLE("Auto-Mute Switch", CS4270_MUTE, 5, 1, 0),
	SOC_DOUBLE("Master Capture Switch", CS4270_MUTE, 3, 4, 1, 0)
	SOC_DOUBLE("Master Capture Switch", CS4270_MUTE, 3, 4, 1, 1)
};

/*