Commit 654a28c9 authored by Mark Brown's avatar Mark Brown

ASoC: samsung: Enable accessory detect for WM8994 on Littlemill

The WM8994 has a different accessory detect architecture, call its setup
function too. We ignore the errors and the driver will check for chip type
so it's safe to call the setup functions for both architectures.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 022658be
...@@ -189,6 +189,9 @@ static int littlemill_late_probe(struct snd_soc_card *card) ...@@ -189,6 +189,9 @@ static int littlemill_late_probe(struct snd_soc_card *card)
/* This will check device compatibility itself */ /* This will check device compatibility itself */
wm8958_mic_detect(codec, &littlemill_headset, NULL, NULL); wm8958_mic_detect(codec, &littlemill_headset, NULL, NULL);
/* As will this */
wm8994_mic_detect(codec, &littlemill_headset, 1);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment