diff options
Diffstat (limited to 'drivers/sound/sscape.c')
-rw-r--r-- | drivers/sound/sscape.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/sound/sscape.c b/drivers/sound/sscape.c index 1b823692c..48017eeed 100644 --- a/drivers/sound/sscape.c +++ b/drivers/sound/sscape.c @@ -124,10 +124,8 @@ static char old_hardware = 0; static void sleep(unsigned howlong) { - current->timeout = jiffies + 1; current->state = TASK_INTERRUPTIBLE; - schedule(); - current->timeout = 0; + schedule_timeout(1); } static unsigned char sscape_read(struct sscape_info *devc, int reg) |