From 1d2c27f94142e4ee9248dac1c93e001b707f3b74 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Tue, 22 Feb 2011 12:42:35 -0800 Subject: [PATCH] ASoC: Pass the jack to jack notifiers We're currently not passing anything and this will make the card and so on more discoverable. Signed-off-by: Mark Brown Acked-by: Liam Girdwood --- sound/soc/soc-jack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/soc-jack.c b/sound/soc/soc-jack.c index 1382251ed2a2..fcab80b36a37 100644 --- a/sound/soc/soc-jack.c +++ b/sound/soc/soc-jack.c @@ -101,7 +101,7 @@ void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask) } /* Report before the DAPM sync to help users updating micbias status */ - blocking_notifier_call_chain(&jack->notifier, status, NULL); + blocking_notifier_call_chain(&jack->notifier, status, jack); snd_soc_dapm_sync(dapm); -- 2.39.5