From 2c77c5214cb2a705cb52adc2041acea6f4a44928 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 21 Aug 2003 01:26:02 +0200 Subject: [PATCH] ALSA CVS update D:2003/08/13 14:01:22 A:Takashi Iwai F:isa/opl3sa2.c:1.28->1.29 L:fixed the uninitialized spin_lock. --- sound/isa/opl3sa2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/isa/opl3sa2.c b/sound/isa/opl3sa2.c index 53002cf3c7c5..47637cc76cfd 100644 --- a/sound/isa/opl3sa2.c +++ b/sound/isa/opl3sa2.c @@ -752,6 +752,7 @@ static int __devinit snd_opl3sa2_probe(int dev, err = -ENOMEM; goto __error; } + spin_lock_init(&chip->reg_lock); chip->irq = -1; if ((err = snd_device_new(card, SNDRV_DEV_LOWLEVEL, chip, &ops)) < 0) goto __error; -- 2.39.5