summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-jack.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-02-22 12:42:35 -0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-02-24 09:42:33 +0000
commit1d2c27f94142e4ee9248dac1c93e001b707f3b74 (patch)
tree814d9460905952093543e37bde1d90414496d609 /sound/soc/soc-jack.c
parent864c4bd2487619564acd75fdcf1a4349992e9090 (diff)
downloadop-kernel-dev-1d2c27f94142e4ee9248dac1c93e001b707f3b74.zip
op-kernel-dev-1d2c27f94142e4ee9248dac1c93e001b707f3b74.tar.gz
ASoC: Pass the jack to jack notifiers
We're currently not passing anything and this will make the card and so on more discoverable. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/soc-jack.c')
-rw-r--r--sound/soc/soc-jack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-jack.c b/sound/soc/soc-jack.c
index 1382251..fcab80b 100644
--- a/sound/soc/soc-jack.c
+++ b/sound/soc/soc-jack.c
@@ -101,7 +101,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, NULL);
+ blocking_notifier_call_chain(&jack->notifier, status, jack);
snd_soc_dapm_sync(dapm);
OpenPOWER on IntegriCloud