summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorMark Brown2011-02-22 05:41:25 +0100
committerMark Brown2011-02-22 19:37:32 +0100
commit406e56c9dfa0e654870631cd4d9ea20391a527eb (patch)
tree90bfed5953b96b6aa0338b773765d8a5e894f600 /sound/soc
parentASoC: Ensure supplies are maintained for force enabled widgets (diff)
downloadkernel-qcow2-linux-406e56c9dfa0e654870631cd4d9ea20391a527eb.tar.gz
kernel-qcow2-linux-406e56c9dfa0e654870631cd4d9ea20391a527eb.tar.xz
kernel-qcow2-linux-406e56c9dfa0e654870631cd4d9ea20391a527eb.zip
ASoC: Fix WM8958 default microphone detection argument ordering
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/wm8994.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index a60b5dbf0154..ebaee5ca7434 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -3000,11 +3000,10 @@ static void wm8958_default_micdet(u16 status, void *data)
report |= SND_JACK_BTN_5;
done:
- snd_soc_jack_report(wm8994->micdet[0].jack,
+ snd_soc_jack_report(wm8994->micdet[0].jack, report,
SND_JACK_BTN_0 | SND_JACK_BTN_1 | SND_JACK_BTN_2 |
SND_JACK_BTN_3 | SND_JACK_BTN_4 | SND_JACK_BTN_5 |
- SND_JACK_MICROPHONE | SND_JACK_VIDEOOUT,
- report);
+ SND_JACK_MICROPHONE | SND_JACK_VIDEOOUT);
}
/**