From 17b134521b98ce4145814c5e0824e7a5cd36bb81 Mon Sep 17 00:00:00 2001 From: Zoltan Devai Date: Tue, 22 May 2007 16:17:05 +0200 Subject: [PATCH] --- yaml --- r: 57187 b: refs/heads/master c: c72816b79e9735284b3c0f6b3a4aa4e1c0537c0d h: refs/heads/master i: 57185: da9c3daaf1fb90fdd610269e61e63c9b7481ff21 57183: 6bce9a2a1a8a6809ca1c5811fbe39b1474378a3e v: v3 --- [refs] | 2 +- trunk/sound/soc/s3c24xx/s3c24xx-pcm.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 02462ce07fe9..1e6c17883ead 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 36c3b4e60a83187e82bc9bcde854e765bde3d670 +refs/heads/master: c72816b79e9735284b3c0f6b3a4aa4e1c0537c0d diff --git a/trunk/sound/soc/s3c24xx/s3c24xx-pcm.c b/trunk/sound/soc/s3c24xx/s3c24xx-pcm.c index 21dc6974d6a3..bfbdc3cbd43b 100644 --- a/trunk/sound/soc/s3c24xx/s3c24xx-pcm.c +++ b/trunk/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; }