patch-2.1.127 linux/drivers/sound/cs4232.c
Next file: linux/drivers/sound/dmabuf.c
Previous file: linux/drivers/sgi/char/sgiserial.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Wed Nov 4 09:47:14 1998
- Orig file:
v2.1.126/linux/drivers/sound/cs4232.c
- Orig date:
Sun Jul 26 11:57:16 1998
diff -u --recursive --new-file v2.1.126/linux/drivers/sound/cs4232.c linux/drivers/sound/cs4232.c
@@ -96,9 +96,7 @@
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)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov