Commit 12022a78 authored by Mark Brown's avatar Mark Brown

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.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 17c3f7e8
...@@ -103,7 +103,7 @@ void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask) ...@@ -103,7 +103,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 */ /* 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); snd_soc_dapm_sync(dapm);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment