diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-13 11:28:36 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-13 15:47:58 -0400 |
commit | 12022a785328fdf61a3e1a4bc34db0098dabe839 (patch) | |
tree | 5c5fbd9f3edcaa12170223f0308cd7d2aff6e6de /sound/soc | |
parent | 17c3f7e8f3ef796a9db3b22f3797188d0e7ac88c (diff) |
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 <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/soc-jack.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
103 | } | 103 | } |
104 | 104 | ||
105 | /* Report before the DAPM sync to help users updating micbias status */ | 105 | /* Report before the DAPM sync to help users updating micbias status */ |
106 | blocking_notifier_call_chain(&jack->notifier, status, jack); | 106 | blocking_notifier_call_chain(&jack->notifier, jack->status, jack); |
107 | 107 | ||
108 | snd_soc_dapm_sync(dapm); | 108 | snd_soc_dapm_sync(dapm); |
109 | 109 | ||