aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/omap
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-03-12 10:27:29 -0400
committerMark Brown <broonie@linaro.org>2014-03-13 05:32:26 -0400
commite95d73c437a09e7febea18f8e998f958ef6d7a72 (patch)
treecd39304369f20cceb83f0ba352cc9cf6178334c8 /sound/soc/omap
parentf9fa2b1855a9ece2ec2a4f54b7f9131cd89257d6 (diff)
ASoC: ams-delta: Fix compile error
snd_soc_dapm_mutex_unlock() wants a pointer to the DAPM context, not the CODEC. Fixes: 03510ca07 ("ASoC: ams-delta: Update locking around use of DAPM pin API") Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/omap')
-rw-r--r--sound/soc/omap/ams-delta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/omap/ams-delta.c b/sound/soc/omap/ams-delta.c
index 5750de197d0d..14718cd6c29f 100644
--- a/sound/soc/omap/ams-delta.c
+++ b/sound/soc/omap/ams-delta.c
@@ -327,7 +327,7 @@ static void cx81801_close(struct tty_struct *tty)
327 327
328 snd_soc_dapm_sync_unlocked(dapm); 328 snd_soc_dapm_sync_unlocked(dapm);
329 329
330 snd_soc_dapm_mutex_unlock(codec); 330 snd_soc_dapm_mutex_unlock(dapm);
331} 331}
332 332
333/* Line discipline .hangup() */ 333/* Line discipline .hangup() */