[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: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
This commit is contained in:
Zoltan Devai 2007-05-22 16:17:05 +02:00 committed by Jaroslav Kysela
parent 36c3b4e60a
commit c72816b79e

View File

@ -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;
}