diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-03 08:15:18 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-06 09:04:51 -0500 |
commit | 654a28c9dcf74a771318dacf237dd027944621b3 (patch) | |
tree | 7947b46f9df0c1cf4c04e2efe59818b0f056722b /sound/soc/samsung/littlemill.c | |
parent | 022658beab5581ecc1d325d60857f2fc464da22f (diff) |
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: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/samsung/littlemill.c')
-rw-r--r-- | sound/soc/samsung/littlemill.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/samsung/littlemill.c b/sound/soc/samsung/littlemill.c index 9dd818bde06f..e7416851bf7d 100644 --- a/sound/soc/samsung/littlemill.c +++ b/sound/soc/samsung/littlemill.c | |||
@@ -189,6 +189,9 @@ static int littlemill_late_probe(struct snd_soc_card *card) | |||
189 | /* This will check device compatibility itself */ | 189 | /* This will check device compatibility itself */ |
190 | wm8958_mic_detect(codec, &littlemill_headset, NULL, NULL); | 190 | wm8958_mic_detect(codec, &littlemill_headset, NULL, NULL); |
191 | 191 | ||
192 | /* As will this */ | ||
193 | wm8994_mic_detect(codec, &littlemill_headset, 1); | ||
194 | |||
192 | return 0; | 195 | return 0; |
193 | } | 196 | } |
194 | 197 | ||