Skip to contentSkip to conversation

ASoC: jack: Always notify full jack status

PATCH New Mark Brown 1 participant 1 message Aug 13, 2012

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: jack: Always notify full jack status

Don't just notify for the bits we've updated, notify the full state of the jack otherwise users might get confused by misleading reports.

---
 sound/soc/soc-jack.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/soc-jack.c +1 -1
index e19fd6d..9ece60a 100644
@@ -98,7 +98,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, jack);
+	blocking_notifier_call_chain(&jack->notifier, jack->status, jack);
 
 	snd_soc_dapm_sync(dapm);
 
Signature · 1 line
1.7.10.4