projects
/
wrapfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58adb57
)
ASoC: Fix shift in WM8958 accessory detection default implementation
author
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Fri, 15 Jul 2011 13:28:32 +0000
(22:28 +0900)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 3 Aug 2011 19:42:39 +0000
(12:42 -0700)
commit
b35e160a111aa9ae3fad6294e038be20d0da721b
upstream.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/soc/codecs/wm8994.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8994.c
b/sound/soc/codecs/wm8994.c
index 7626bc293f20d30baa99d7c8977f7e8ca2613815..89acb0f1c38a9f8f91b9605359d689f44c6fe5fd 100644
(file)
--- a/
sound/soc/codecs/wm8994.c
+++ b/
sound/soc/codecs/wm8994.c
@@
-3021,7
+3021,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: