Skip to content

Commit

Permalink
ASoC: jack: Always notify full jack status
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown committed Aug 13, 2012
1 parent 17c3f7e commit 12022a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/soc-jack.c
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit 12022a7

Please sign in to comment.