Skip to contentSkip to conversation

ASoC: samsung: Enable accessory detect for WM8994 on Littlemill

PATCH New Mark Brown 1 participant 1 message Feb 6, 2012

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 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.

---
 sound/soc/samsung/littlemill.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
sound/soc/samsung/littlemill.c +3 -0
index 9dd818b..e741685 100644
@@ -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;
 }
 
Signature · 1 line
1.7.9.rc1