Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c72816b79e9735284b3c0f6b3a4aa4e1c0537c0d Commit: c72816b79e9735284b3c0f6b3a4aa4e1c0537c0d Parent: 36c3b4e60a83187e82bc9bcde854e765bde3d670 Author: Zoltan Devai <[EMAIL PROTECTED]> AuthorDate: Tue May 22 16:17:05 2007 +0200 Committer: Jaroslav Kysela <[EMAIL PROTECTED]> CommitDate: Thu May 31 09:06:03 2007 +0200
[ALSA] Fix ASoC s3c24xx-pcm spinlock bug This should fix a spinlock lockup bug on the s3c24xx arch. From: Zoltan Devai <[EMAIL PROTECTED]> Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]> Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]> --- sound/soc/s3c24xx/s3c24xx-pcm.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/sound/soc/s3c24xx/s3c24xx-pcm.c b/sound/soc/s3c24xx/s3c24xx-pcm.c index 21dc697..bfbdc3c 100644 --- a/sound/soc/s3c24xx/s3c24xx-pcm.c +++ b/sound/soc/s3c24xx/s3c24xx-pcm.c @@ -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; } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html