From: Lars-Peter Clausen Date: Wed, 12 Mar 2014 14:27:29 +0000 (+0100) Subject: ASoC: ams-delta: Fix compile error X-Git-Tag: v4.14-rc1~7708^2~1^2~4^2~13^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e95d73c437a09e7febea18f8e998f958ef6d7a72;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Mark Brown --- diff --git a/sound/soc/omap/ams-delta.c b/sound/soc/omap/ams-delta.c index 5750de1..14718cd 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) snd_soc_dapm_sync_unlocked(dapm); - snd_soc_dapm_mutex_unlock(codec); + snd_soc_dapm_mutex_unlock(dapm); } /* Line discipline .hangup() */