projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d558cfc
)
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
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 31 Oct 2011 12:50:03 +0000
(12:50 +0000)
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>
Cc: stable@kernel.org
sound/soc/codecs/wm8904.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8904.c
b/sound/soc/codecs/wm8904.c
index 9fc8f4c0a9a91acbe52f5321f60008d90371ef51..285ef87e6704fd655d89170ce5e5307e25a36983 100644
(file)
--- a/
sound/soc/codecs/wm8904.c
+++ b/
sound/soc/codecs/wm8904.c
@@
-867,7
+867,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),