All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: WM8904: Set `invert' bit for Capture Switch
@ 2011-10-28  7:36 Hong Xu
  2011-10-31 12:50 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Hong Xu @ 2011-10-28  7:36 UTC (permalink / raw)
  To: broonie; +Cc: alsa-devel, Hong Xu

Set `invert' bit for Capture Switch. Otherwise analogue is muted when
Capture Switch is ON.

Signed-off-by: Hong Xu <hong.xu@atmel.com>
---
 sound/soc/codecs/wm8904.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c
index b085575..cbba0b1 100644
--- a/sound/soc/codecs/wm8904.c
+++ b/sound/soc/codecs/wm8904.c
@@ -868,7 +868,7 @@ SOC_ENUM("Right Capture Mode", rin_mode),
 SOC_DOUBLE_R("Capture Volume", WM8904_ANALOGUE_LEFT_INPUT_0,
 	     WM8904_ANALOGUE_RIGHT_INPUT_0, 0, 31, 0),
 SOC_DOUBLE_R("Capture Switch", WM8904_ANALOGUE_LEFT_INPUT_0,
-	     WM8904_ANALOGUE_RIGHT_INPUT_0, 7, 1, 0),
+	     WM8904_ANALOGUE_RIGHT_INPUT_0, 7, 1, 1),
 
 SOC_SINGLE("High Pass Filter Switch", WM8904_ADC_DIGITAL_0, 4, 1, 0),
 SOC_ENUM("High Pass Filter Mode", hpf_mode),
-- 
1.7.3.3

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

* Re: [PATCH] ASoC: WM8904: Set `invert' bit for Capture Switch
  2011-10-28  7:36 [PATCH] ASoC: WM8904: Set `invert' bit for Capture Switch Hong Xu
@ 2011-10-31 12:50 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2011-10-31 12:50 UTC (permalink / raw)
  To: Hong Xu; +Cc: alsa-devel

On Fri, Oct 28, 2011 at 03:36:39PM +0800, Hong Xu wrote:
> Set `invert' bit for Capture Switch. Otherwise analogue is muted when
> Capture Switch is ON.

Applied, thanks.

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

end of thread, other threads:[~2011-10-31 12:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-28  7:36 [PATCH] ASoC: WM8904: Set `invert' bit for Capture Switch Hong Xu
2011-10-31 12:50 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.