[alsa-devel] [PATCH] ASoC: Fix shift in WM8958 accessory detection default implementation
15 Jul
2011
15 Jul
'11
3:28 p.m.
Signed-off-by: Mark Brown broonie@opensource.wolfsonmicro.com --- sound/soc/codecs/wm8994.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index bc62b6e..bfb7e66 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -2834,7 +2834,7 @@ static void wm8958_default_micdet(u16 status, void *data) report = SND_JACK_MICROPHONE;
/* Everything else is buttons; just assign slots */ - if (status & 0x1c0) + if (status & 0x1c) report |= SND_JACK_BTN_0;
done:
--
1.7.5.4
4909
Age (days ago)
4909
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mark Brown