diff options
Diffstat (limited to 'drivers/sound/cs4232.c')
-rw-r--r-- | drivers/sound/cs4232.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/sound/cs4232.c b/drivers/sound/cs4232.c index 43bc92911..122b0198f 100644 --- a/drivers/sound/cs4232.c +++ b/drivers/sound/cs4232.c @@ -96,9 +96,7 @@ static unsigned char crystal_key[] = /* A 32 byte magic key sequence */ static void sleep(unsigned howlong) { current->state = TASK_INTERRUPTIBLE; - current->timeout = jiffies + howlong; - schedule(); - current->timeout = 0; + schedule_timeout(howlong); } int probe_cs4232(struct address_info *hw_config) |