patch-2.1.127 linux/drivers/char/tuner.c

Next file: linux/drivers/isdn/act2000/act2000_isa.c
Previous file: linux/drivers/char/tty_ioctl.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.126/linux/drivers/char/tuner.c linux/drivers/char/tuner.c
@@ -142,8 +142,7 @@
 	if (debug) {
 		UNLOCK_I2C_BUS(t->bus);
 		current->state = TASK_INTERRUPTIBLE;
-		current->timeout = jiffies + HZ/10;
-		schedule();
+		schedule_timeout(HZ/10);
 		LOCK_I2C_BUS(t->bus);
 		
 		if (tuner_islocked (t))

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