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:
b76fb39
)
ASoC: WM8731: Fix incorrect mask for bypass path disable
author
Dimitris Papastamos
<
[email protected]
>
Wed, 1 Dec 2010 09:38:55 +0000
(09:38 +0000)
committer
Mark Brown
<
[email protected]
>
Wed, 1 Dec 2010 11:26:40 +0000
(11:26 +0000)
According to the datasheet the bypass path enable/disable is
bit 3 therefore we need 0x8 and not 0x4.
Signed-off-by: Dimitris Papastamos <
[email protected]
>
Acked-by: Liam Girdwood <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/wm8731.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8731.c
b/sound/soc/codecs/wm8731.c
index 631385802eb44a587f5fe375d8f1c61e89ba9d02..e725c09a3e79bf7bafa6fda17ee6112fd629e6ee 100644
(file)
--- a/
sound/soc/codecs/wm8731.c
+++ b/
sound/soc/codecs/wm8731.c
@@
-526,7
+526,7
@@
static int wm8731_probe(struct snd_soc_codec *codec)
snd_soc_update_bits(codec, WM8731_RINVOL, 0x100, 0);
/* Disable bypass path by default */
- snd_soc_update_bits(codec, WM8731_APANA, 0x
4
, 0);
+ snd_soc_update_bits(codec, WM8731_APANA, 0x
8
, 0);
snd_soc_add_controls(codec, wm8731_snd_controls,
ARRAY_SIZE(wm8731_snd_controls));