Skip to contentSkip to conversation

ASoC: Pass the jack to jack notifiers

PATCH In review Mark Brown 2 participants 2 messages Feb 22, 2011 – Feb 23, 2011

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: Pass the jack to jack notifiers

We're currently not passing anything and this will make the card and so on more discoverable.

---
 sound/soc/soc-jack.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/soc-jack.c +1 -1
index 1382251..fcab80b 100644
@@ -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);
 
Signature · 1 line
1.7.2.3