patch-2.2.12 linux/drivers/char/dz.c
Next file: linux/drivers/char/generic_serial.c
Previous file: linux/drivers/char/chipsets.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Wed Aug 25 17:29:47 1999
- Orig file:
v2.2.11/linux/drivers/char/dz.c
- Orig date:
Mon Aug 9 16:05:55 1999
diff -u --recursive --new-file v2.2.11/linux/drivers/char/dz.c linux/drivers/char/dz.c
@@ -902,7 +902,7 @@
dz_out (info, DZ_TCR, tmp);
- schedule_timeout(jiffies + duration);
+ schedule_timeout(duration);
tmp &= ~mask;
dz_out (info, DZ_TCR, tmp);
@@ -1093,7 +1093,7 @@
if (info->blocked_open) {
if (info->close_delay) {
current->state = TASK_INTERRUPTIBLE;
- schedule_timeout(jiffies + info->close_delay);
+ schedule_timeout(info->close_delay);
}
wake_up_interruptible (&info->open_wait);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)