Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: wm8960: Fix the Input PGA Mute switch
@ 2015-11-03  2:06 JongHo Kim
  2015-11-03  9:44 ` Charles Keepax
  0 siblings, 1 reply; 2+ messages in thread
From: JongHo Kim @ 2015-11-03  2:06 UTC (permalink / raw)
  To: broonie, ckeepax; +Cc: alsa-devel, JongHo Kim

Change the xinvert value from 0 to 1 on the "Capture Switch" control
WM8960 datasheet is shown as follows:
Bit 7 at 00h and 01h register address
1 : Enable Mute, 0 : Disable Mute

Signed-off-by: JongHo Kim <furmuwon@gmail.com>
---
 sound/soc/codecs/wm8960.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c
index 0563753..5380798 100644
--- a/sound/soc/codecs/wm8960.c
+++ b/sound/soc/codecs/wm8960.c
@@ -229,7 +229,7 @@ SOC_DOUBLE_R_TLV("Capture Volume", WM8960_LINVOL, WM8960_RINVOL,
 SOC_DOUBLE_R("Capture Volume ZC Switch", WM8960_LINVOL, WM8960_RINVOL,
 	6, 1, 0),
 SOC_DOUBLE_R("Capture Switch", WM8960_LINVOL, WM8960_RINVOL,
-	7, 1, 0),
+	7, 1, 1),
 
 SOC_SINGLE_TLV("Right Input Boost Mixer RINPUT3 Volume",
 	       WM8960_INBMIX1, 4, 7, 0, lineinboost_tlv),
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: wm8960: Fix the Input PGA Mute switch
  2015-11-03  2:06 [PATCH] ASoC: wm8960: Fix the Input PGA Mute switch JongHo Kim
@ 2015-11-03  9:44 ` Charles Keepax
  0 siblings, 0 replies; 2+ messages in thread
From: Charles Keepax @ 2015-11-03  9:44 UTC (permalink / raw)
  To: JongHo Kim; +Cc: alsa-devel, broonie

On Tue, Nov 03, 2015 at 11:06:32AM +0900, JongHo Kim wrote:
> Change the xinvert value from 0 to 1 on the "Capture Switch" control
> WM8960 datasheet is shown as follows:
> Bit 7 at 00h and 01h register address
> 1 : Enable Mute, 0 : Disable Mute
> 
> Signed-off-by: JongHo Kim <furmuwon@gmail.com>
> ---

Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-03  9:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-03  2:06 [PATCH] ASoC: wm8960: Fix the Input PGA Mute switch JongHo Kim
2015-11-03  9:44 ` Charles Keepax

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox