diff mbox series

[1/2] ASoC: wm8974: fix Boost Mixer Aux Switch

Message ID 1593657025-4903-1-git-send-email-puyou.lu@gmail.com (mailing list archive)
State Accepted
Commit 574ea5c80eb18edd0d93864985650efec63347c0
Headers show
Series [1/2] ASoC: wm8974: fix Boost Mixer Aux Switch | expand

Commit Message

puyou.lu@gmail.com July 2, 2020, 2:30 a.m. UTC
From: Puyou Lu <puyou.lu@gmail.com>

Clear BIT6 of INPPGA means not muted (Switch On).

Signed-off-by: Puyou Lu <puyou.lu@gmail.com>
---
 sound/soc/codecs/wm8974.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/sound/soc/codecs/wm8974.c b/sound/soc/codecs/wm8974.c
index 06ba365..764bf93 100644
--- a/sound/soc/codecs/wm8974.c
+++ b/sound/soc/codecs/wm8974.c
@@ -186,7 +186,7 @@  SOC_DAPM_SINGLE("PCM Playback Switch", WM8974_MONOMIX, 0, 1, 0),
 
 /* Boost mixer */
 static const struct snd_kcontrol_new wm8974_boost_mixer[] = {
-SOC_DAPM_SINGLE("Aux Switch", WM8974_INPPGA, 6, 1, 0),
+SOC_DAPM_SINGLE("Aux Switch", WM8974_INPPGA, 6, 1, 1),
 };
 
 /* Input PGA */