diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-07-15 09:28:32 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-07-15 09:41:38 -0400 |
commit | b35e160a111aa9ae3fad6294e038be20d0da721b (patch) | |
tree | bca3d39aab83be513921519f18b9081a74bdaf67 /sound/soc | |
parent | 2c7beb9285342e96f2ebd8ae24d708484e443a7d (diff) |
ASoC: Fix shift in WM8958 accessory detection default implementation
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
Diffstat (limited to 'sound/soc')
-rw-r--r-- | 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 c2fc0356c2a4..5f0c238e1783 100644 --- 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) | |||
2763 | report = SND_JACK_MICROPHONE; | 2763 | report = SND_JACK_MICROPHONE; |
2764 | 2764 | ||
2765 | /* Everything else is buttons; just assign slots */ | 2765 | /* Everything else is buttons; just assign slots */ |
2766 | if (status & 0x1c0) | 2766 | if (status & 0x1c) |
2767 | report |= SND_JACK_BTN_0; | 2767 | report |= SND_JACK_BTN_0; |
2768 | 2768 | ||
2769 | done: | 2769 | done: |