Update of /cvsroot/alsa/alsa-kernel/drivers/vx
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24747/drivers/vx

Modified Files:
        vx_core.c 
Log Message:
- fixed another wrong lock.



Index: vx_core.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/drivers/vx/vx_core.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- vx_core.c   9 Feb 2004 16:37:14 -0000       1.6
+++ vx_core.c   9 Feb 2004 19:39:37 -0000       1.7
@@ -415,11 +415,12 @@
  */
 int vx_send_rih(vx_core_t *chip, int cmd)
 {
+       unsigned long flags;
        int err;
 
-       spin_lock_bh(&chip->lock);
+       spin_lock_irqsave(&chip->lock, flags);
        err = vx_send_rih_nolock(chip, cmd);
-       spin_unlock_bh(&chip->lock);
+       spin_unlock_irqrestore(&chip->lock, flags);
        return err;
 }
 



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to