Update of /cvsroot/alsa/alsa-kernel/isa/ad1848
In directory sc8-pr-cvs1:/tmp/cvs-serv27757

Modified Files:
        ad1848_lib.c 
Log Message:
Robert Harris <[EMAIL PROTECTED]>
Fixed spinlocks


Index: ad1848_lib.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/ad1848/ad1848_lib.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- ad1848_lib.c        17 Jul 2003 15:16:24 -0000      1.29
+++ ad1848_lib.c        29 Oct 2003 09:29:32 -0000      1.30
@@ -736,11 +736,13 @@
                        snd_ad1848_out(chip, AD1848_RIGHT_INPUT, 0x45);
                        rev = snd_ad1848_in(chip, AD1848_RIGHT_INPUT);
                        if (rev == 0x65) {
+                               spin_unlock_irqrestore(&chip->reg_lock, flags);
                                id = 1;
                                ad1847 = 1;
                                break;
                        }
                        if (snd_ad1848_in(chip, AD1848_LEFT_INPUT) == 0xaa && rev == 
0x45) {
+                               spin_unlock_irqrestore(&chip->reg_lock, flags);
                                id = 1;
                                break;
                        }



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to