From: Mark Brown Date: Mon, 13 Aug 2012 15:28:36 +0000 (+0100) Subject: ASoC: jack: Always notify full jack status X-Git-Tag: v5.15~21798^2~2^2~3 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=12022a785328fdf61a3e1a4bc34db0098dabe839;p=mirror_ubuntu-kernels.git 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: Mark Brown --- diff --git a/sound/soc/soc-jack.c b/sound/soc/soc-jack.c index 7f8b3b7428bb..0c172938b82a 100644 --- a/sound/soc/soc-jack.c +++ b/sound/soc/soc-jack.c @@ -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 */ - blocking_notifier_call_chain(&jack->notifier, status, jack); + blocking_notifier_call_chain(&jack->notifier, jack->status, jack); snd_soc_dapm_sync(dapm);