summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/teleint.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/hisax/teleint.c')
-rw-r--r--drivers/isdn/hisax/teleint.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/isdn/hisax/teleint.c b/drivers/isdn/hisax/teleint.c
index d86dd79a4..f7e38253b 100644
--- a/drivers/isdn/hisax/teleint.c
+++ b/drivers/isdn/hisax/teleint.c
@@ -246,13 +246,11 @@ reset_TeleInt(struct IsdnCardState *cs)
save_flags(flags);
sti();
current->state = TASK_INTERRUPTIBLE;
- current->timeout = jiffies + 3;
- schedule();
+ schedule_timeout(3);
cs->hw.hfc.cirm &= ~HFC_RESET;
byteout(cs->hw.hfc.addr | 1, cs->hw.hfc.cirm); /* Reset Off */
current->state = TASK_INTERRUPTIBLE;
- current->timeout = jiffies + 1;
- schedule();
+ schedule_timeout(1);
restore_flags(flags);
}