From: Mark Brown Date: Fri, 15 Jul 2011 13:28:32 +0000 (+0900) Subject: ASoC: Fix shift in WM8958 accessory detection default implementation X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b35e160a111aa9ae3fad6294e038be20d0da721b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ASoC: Fix shift in WM8958 accessory detection default implementation Signed-off-by: Mark Brown Cc: stable@kernel.org --- 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) report = SND_JACK_MICROPHONE; /* Everything else is buttons; just assign slots */ - if (status & 0x1c0) + if (status & 0x1c) report |= SND_JACK_BTN_0; done: