This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / isdn / hisax / elsa.c
index 2127146..3b526d7 100644 (file)
@@ -691,7 +691,8 @@ Elsa_card_msg(struct IsdnCardState *cs, int mt, void *arg)
                                byteout(cs->hw.elsa.ctrl, cs->hw.elsa.ctrl_reg);
                                byteout(cs->hw.elsa.timer, 0);
                                spin_unlock_irqrestore(&cs->lock, flags);
-                               msleep(110);
+                               set_current_state(TASK_UNINTERRUPTIBLE);
+                               schedule_timeout((110*HZ)/1000);
                                spin_lock_irqsave(&cs->lock, flags);
                                cs->hw.elsa.ctrl_reg &= ~ELSA_ENA_TIMER_INT;
                                byteout(cs->hw.elsa.ctrl, cs->hw.elsa.ctrl_reg);