projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8c34bb
)
ASoC: WM8904: Set `invert' bit for Capture Switch
author
Hong Xu
<hong.xu@atmel.com>
Fri, 28 Oct 2011 07:36:39 +0000
(15:36 +0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 11 Nov 2011 17:37:05 +0000
(09:37 -0800)
commit
5a7c5f26df3c0122814dfa1c13ef6dfbdbffdb86
upstream.
Set `invert' bit for Capture Switch. Otherwise analogue is muted when
Capture Switch is ON.
Signed-off-by: Hong Xu <hong.xu@atmel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/soc/codecs/wm8904.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8904.c
b/sound/soc/codecs/wm8904.c
index 9b3bba4df5b363fdeec2cb23a69af3fe38594477..0fce199a727ef826a2646fe095478a53293cf06f 100644
(file)
--- 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),