Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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() */