[PATCH 07/12] ASoC: samsung: littlemill: Use standard callback to set jack
From: Amadeusz Sławiński
Date: Mon Oct 26 2026 - 16:22:14 EST
Use snd_soc_component_set_jack() instead of driver-specific
wm8958_mic_detect() and wm8994_mic_detect() callbacks.
Signed-off-by: Amadeusz Sławiński <amade@xxxxxxxxxx>
---
sound/soc/samsung/littlemill.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/sound/soc/samsung/littlemill.c b/sound/soc/samsung/littlemill.c
index d0d1b1ee326e..fca2e18877f2 100644
--- a/sound/soc/samsung/littlemill.c
+++ b/sound/soc/samsung/littlemill.c
@@ -302,11 +302,7 @@ static int littlemill_late_probe(struct snd_soc_card *card)
if (ret)
return ret;
- /* This will check device compatibility itself */
- wm8958_mic_detect(component, &littlemill_headset, NULL, NULL, NULL, NULL);
-
- /* As will this */
- wm8994_mic_detect(component, &littlemill_headset, 1);
+ snd_soc_component_set_jack(component, &littlemill_headset, NULL);
return 0;
}
--
2.56.0