summaryrefslogtreecommitdiffstats
path: root/drivers/char/dsp56k.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/dsp56k.c')
-rw-r--r--drivers/char/dsp56k.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/dsp56k.c b/drivers/char/dsp56k.c
index c9c22f695..4d697cd44 100644
--- a/drivers/char/dsp56k.c
+++ b/drivers/char/dsp56k.c
@@ -63,8 +63,7 @@
#define wait_some(n) \
{ \
current->state = TASK_INTERRUPTIBLE; \
- current->timeout = jiffies + n; \
- schedule(); \
+ schedule_timeout(n); \
}
#define handshake(count, maxio, timeout, ENABLE, f) \