Update of /cvsroot/alsa/alsa-kernel/pci/rme9652
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25421

Modified Files:
        hdsp.c rme9652.c 
Log Message:
fixed invalid spin_lock/unlock_irq() in the prepare callback.



Index: hdsp.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/rme9652/hdsp.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- hdsp.c      3 May 2004 09:01:17 -0000       1.57
+++ hdsp.c      14 May 2004 10:30:59 -0000      1.58
@@ -4123,10 +4123,10 @@
                return -EIO;
        }
 
-       spin_lock_irq(&hdsp->lock);
+       spin_lock(&hdsp->lock);
        if (!hdsp->running)
                hdsp_reset_hw_pointer(hdsp);
-       spin_unlock_irq(&hdsp->lock);
+       spin_unlock(&hdsp->lock);
        return result;
 }
 

Index: rme9652.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/rme9652/rme9652.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- rme9652.c   13 Apr 2004 14:59:17 -0000      1.44
+++ rme9652.c   14 May 2004 10:31:00 -0000      1.45
@@ -2263,10 +2263,10 @@
        rme9652_t *rme9652 = _snd_pcm_substream_chip(substream);
        int result = 0;
 
-       spin_lock_irq(&rme9652->lock);
+       spin_lock(&rme9652->lock);
        if (!rme9652->running)
                rme9652_reset_hw_pointer(rme9652);
-       spin_unlock_irq(&rme9652->lock);
+       spin_unlock(&rme9652->lock);
        return result;
 }
 



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to