[PATCH 09/12] ASoC: samsung: tobermory: Use standard callback to set jack
From: Amadeusz Sławiński
Date: Mon Oct 26 2026 - 16:24:03 EST
Use snd_soc_component_set_jack() instead of the driver-specific
wm8962_mic_detect() callback.
Signed-off-by: Amadeusz Sławiński <amade@xxxxxxxxxx>
---
sound/soc/samsung/tobermory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/samsung/tobermory.c b/sound/soc/samsung/tobermory.c
index 5448c16199bd..2cce1aa0c5ec 100644
--- a/sound/soc/samsung/tobermory.c
+++ b/sound/soc/samsung/tobermory.c
@@ -193,7 +193,7 @@ static int tobermory_late_probe(struct snd_soc_card *card)
if (ret)
return ret;
- wm8962_mic_detect(component, &tobermory_headset);
+ snd_soc_component_set_jack(component, &tobermory_headset, NULL);
return 0;
}
--
2.56.0