Commit e95d73c4 authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Mark Brown

ASoC: ams-delta: Fix compile error

snd_soc_dapm_mutex_unlock() wants a pointer to the DAPM context, not the CODEC.

Fixes: 03510ca0 ("ASoC: ams-delta: Update locking around use of DAPM pin API")
Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent f9fa2b18
...@@ -327,7 +327,7 @@ static void cx81801_close(struct tty_struct *tty) ...@@ -327,7 +327,7 @@ static void cx81801_close(struct tty_struct *tty)
snd_soc_dapm_sync_unlocked(dapm); snd_soc_dapm_sync_unlocked(dapm);
snd_soc_dapm_mutex_unlock(codec); snd_soc_dapm_mutex_unlock(dapm);
} }
/* Line discipline .hangup() */ /* Line discipline .hangup() */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment