]> git.hungrycats.org Git - linux/commitdiff
ALSA CVS update
authorJaroslav Kysela <perex@suse.cz>
Wed, 20 Aug 2003 23:27:12 +0000 (01:27 +0200)
committerJaroslav Kysela <perex@suse.cz>
Wed, 20 Aug 2003 23:27:12 +0000 (01:27 +0200)
D:2003/08/13 14:14:31
A:Takashi Iwai <tiwai@suse.de>
F:arm/sa11xx-uda1341.c:1.11->1.12
L:fixed missing spin_lock_init().

sound/arm/sa11xx-uda1341.c

index 445bb99e2b8eaf3de20a040ebd1a526461d8f1ed..43c84393dc0081ff42651bd4f5242f7913436be0 100644 (file)
@@ -21,7 +21,7 @@
  *                              merged HAL layer (patches from Brian)
  */
 
-/* $Id: sa11xx-uda1341.c,v 1.11 2003/04/30 14:53:11 perex Exp $ */
+/* $Id: sa11xx-uda1341.c,v 1.12 2003/08/13 13:14:31 tiwai Exp $ */
 
 /***************************************************************************************************
 *
@@ -965,6 +965,8 @@ static int __init sa11xx_uda1341_init(void)
        sa11xx_uda1341 = snd_magic_kcalloc(sa11xx_uda1341_t, 0, GFP_KERNEL);
        if (sa11xx_uda1341 == NULL)
                return -ENOMEM; 
+       spin_lock_init(&chip->s[0].dma_lock);
+       spin_lock_init(&chip->s[1].dma_lock);
          
        card->private_data = (void *)sa11xx_uda1341;
        card->private_free = snd_sa11xx_uda1341_free;