diff options
Diffstat (limited to 'drivers/char/dsp56k.c')
-rw-r--r-- | drivers/char/dsp56k.c | 3 |
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) \ |