Skip to content

Commit

Permalink
ASoC: samsung: Enable accessory detect for WM8994 on Littlemill
Browse files Browse the repository at this point in the history
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: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Feb 6, 2012
1 parent 022658b commit 654a28c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sound/soc/samsung/littlemill.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ static int littlemill_late_probe(struct snd_soc_card *card)
/* This will check device compatibility itself */
wm8958_mic_detect(codec, &littlemill_headset, NULL, NULL);

/* As will this */
wm8994_mic_detect(codec, &littlemill_headset, 1);

return 0;
}

Expand Down

0 comments on commit 654a28c

Please sign in to comment.