Update of /cvsroot/alsa/alsa-kernel/drivers/vx In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13549
Modified Files: vx_core.c Log Message: - fixed the wrong lock (bug #2052) - use spin_lock_irqsave() now. Index: vx_core.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/drivers/vx/vx_core.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- vx_core.c 23 Oct 2003 14:34:52 -0000 1.5 +++ vx_core.c 9 Feb 2004 16:37:14 -0000 1.6 @@ -355,11 +355,12 @@ */ int vx_send_msg(vx_core_t *chip, struct vx_rmh *rmh) { + unsigned long flags; int err; - spin_lock_bh(&chip->lock); + spin_lock_irqsave(&chip->lock, flags); err = vx_send_msg_nolock(chip, rmh); - 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