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

Modified Files:
        azt2320.c 
Log Message:
fixed timeout check;  using standard time_xxx macros.



Index: azt2320.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/azt2320.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- azt2320.c   1 Mar 2003 19:04:28 -0000       1.13
+++ azt2320.c   24 Mar 2003 16:32:32 -0000      1.14
@@ -244,7 +244,7 @@
        unsigned long limit;
 
        limit = jiffies + HZ / 10;
-       for (i = 50000; i && (limit - jiffies) > 0; i--)
+       for (i = 50000; i && time_after(limit, jiffies); i--)
                if (!(inb(port + 0x0c) & 0x80)) {
                        outb(val, port + 0x0c);
                        return 0;



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to