Update of /cvsroot/alsa/alsa-kernel/pci/ac97
In directory sc8-pr-cvs1:/tmp/cvs-serv15155/pci/ac97
Modified Files:
ac97_codec.c
Log Message:
fixed timeout check; using standard time_xxx macros.
Index: ac97_codec.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ac97/ac97_codec.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -r1.78 -r1.79
--- ac97_codec.c 20 Mar 2003 16:45:59 -0000 1.78
+++ ac97_codec.c 24 Mar 2003 16:32:33 -0000 1.79
@@ -1870,7 +1870,7 @@
*/
static int ac97_reset_wait(ac97_t *ac97, int timeout, int with_modem)
{
- signed long end_time;
+ unsigned long end_time;
end_time = jiffies + timeout;
do {
unsigned short ext_mid;
@@ -1930,7 +1930,7 @@
int err;
ac97_t *ac97;
char name[64];
- signed long end_time;
+ unsigned long end_time;
static snd_device_ops_t ops = {
.dev_free = snd_ac97_dev_free,
};
@@ -2083,7 +2083,7 @@
*/
static int ac97_modem_reset_wait(ac97_t *ac97, int timeout)
{
- signed long end_time;
+ unsigned long end_time;
end_time = jiffies + timeout;
do {
unsigned short ext_mid;
-------------------------------------------------------
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