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

Commit c72816b7 authored by Zoltan Devai's avatar Zoltan Devai Committed by Jaroslav Kysela
Browse files

[ALSA] Fix ASoC s3c24xx-pcm spinlock bug



This should fix a spinlock lockup bug on the s3c24xx arch.
From: Zoltan Devai <zdevai@gmail.com>

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent 36c3b4e6
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -337,6 +337,8 @@ static int s3c24xx_pcm_open(struct snd_pcm_substream *substream)
	if (prtd == NULL)
		return -ENOMEM;

	spin_lock_init(&prtd->lock);

	runtime->private_data = prtd;
	return 0;
}