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:
2c7beb9
)
ASoC: Fix shift in WM8958 accessory detection default implementation
author
Mark Brown
<
[email protected]
>
Fri, 15 Jul 2011 13:28:32 +0000
(22:28 +0900)
committer
Mark Brown
<
[email protected]
>
Fri, 15 Jul 2011 13:41:38 +0000
(22:41 +0900)
Signed-off-by: Mark Brown <
[email protected]
>
Cc:
[email protected]
sound/soc/codecs/wm8994.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8994.c
b/sound/soc/codecs/wm8994.c
index c2fc0356c2a44daac0c9a3fffd96e0119cd4ba3e..5f0c238e1783c117170503dda2195353dceb0fa4 100644
(file)
--- a/
sound/soc/codecs/wm8994.c
+++ b/
sound/soc/codecs/wm8994.c
@@
-2763,7
+2763,7
@@
static void wm8958_default_micdet(u16 status, void *data)
report = SND_JACK_MICROPHONE;
/* Everything else is buttons; just assign slots */
- if (status & 0x1c
0
)
+ if (status & 0x1c)
report |= SND_JACK_BTN_0;
done: