diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-02-21 23:41:25 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-02-22 13:37:32 -0500 |
commit | 406e56c9dfa0e654870631cd4d9ea20391a527eb (patch) | |
tree | 90bfed5953b96b6aa0338b773765d8a5e894f600 | |
parent | 3017358a75917b5ed5ad361c02ba2a7e257d3b2a (diff) |
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>
-rw-r--r-- | sound/soc/codecs/wm8994.c | 5 |
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) | |||
3000 | report |= SND_JACK_BTN_5; | 3000 | report |= SND_JACK_BTN_5; |
3001 | 3001 | ||
3002 | done: | 3002 | done: |
3003 | snd_soc_jack_report(wm8994->micdet[0].jack, | 3003 | snd_soc_jack_report(wm8994->micdet[0].jack, report, |
3004 | SND_JACK_BTN_0 | SND_JACK_BTN_1 | SND_JACK_BTN_2 | | 3004 | SND_JACK_BTN_0 | SND_JACK_BTN_1 | SND_JACK_BTN_2 | |
3005 | SND_JACK_BTN_3 | SND_JACK_BTN_4 | SND_JACK_BTN_5 | | 3005 | SND_JACK_BTN_3 | SND_JACK_BTN_4 | SND_JACK_BTN_5 | |
3006 | SND_JACK_MICROPHONE | SND_JACK_VIDEOOUT, | 3006 | SND_JACK_MICROPHONE | SND_JACK_VIDEOOUT); |
3007 | report); | ||
3008 | } | 3007 | } |
3009 | 3008 | ||
3010 | /** | 3009 | /** |