Update of /cvsroot/alsa/alsa-kernel/i2c
In directory sc8-pr-cvs1:/tmp/cvs-serv22557/i2c

Modified Files:
        i2c.c 
Log Message:
- fixed sleep in lock.  use mutex for the locking.


Index: i2c.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/i2c/i2c.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- i2c.c       30 May 2003 12:28:34 -0000      1.9
+++ i2c.c       13 Nov 2003 11:19:30 -0000      1.10
@@ -84,7 +84,7 @@
        bus = (snd_i2c_bus_t *)snd_magic_kcalloc(snd_i2c_bus_t, 0, GFP_KERNEL);
        if (bus == NULL)
                return -ENOMEM;
-       spin_lock_init(&bus->lock);
+       init_MUTEX(&bus->lock_mutex);
        INIT_LIST_HEAD(&bus->devices);
        INIT_LIST_HEAD(&bus->buses);
        bus->card = card;



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to