From 78c388aed2b7184182c08428db1de6c872d815f5 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 4 Jan 1999 16:03:48 +0000 Subject: Merge with Linux 2.1.131 and more MIPS goodies. (Did I mention that CVS is buggy ...) --- drivers/sound/cs4232.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'drivers/sound/cs4232.c') 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) -- cgit v1.2.3