patch-2.1.127 linux/drivers/sound/sgalaxy.c

Next file: linux/drivers/sound/sonicvibes.c
Previous file: linux/drivers/sound/sequencer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.126/linux/drivers/sound/sgalaxy.c linux/drivers/sound/sgalaxy.c
@@ -29,9 +29,7 @@
 static void sleep( unsigned howlong )
 {
 	current->state   = TASK_INTERRUPTIBLE;
-	current->timeout = jiffies + howlong;
-	schedule();
-	current->timeout = 0;
+	schedule(howlong);
 }
 
 #define DPORT 0x80

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov