dvb/av7110: replace schedule_timeout()
Subsystems (2)
PATCH 1/1 dvb/av7110: replace schedule_timeout()
I would appreciate any comments from the janitors list.
Thanks,
Nish
Applys-to: 2.6.7
Description: Replace dvb_delay() with msleep() to guarantee the task delays the desired time.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/media/dvb/ttpci/av7110.c +3 -3
@@ -89,7 +89,7 @@ static void recover_arm(struct av7110 *aDEB_EE (("av7110: %p\n" ,av7110));av7110_bootarm (av7110); -dvb_delay (100 ); +msleep (100 );restart_feeds (av7110);av7110_fw_cmd (av7110,COMTYPE_PIDFILTER , SetIR,1 , av7110->ir_config); }
@@ -1510,7 +1510,7 @@ err3: av7110->arm_rmmod =1 ;wake_up_interruptible (&av7110->arm_wait);while (av7110->arm_thread) -dvb_delay (1 ); +msleep (1 ); err2:av7110_ca_exit (av7110);av7110_av_exit (av7110);
@@ -1546,7 +1546,7 @@ static int av7110_detach (struct saa7146wake_up_interruptible (&av7110->arm_wait);while (av7110->arm_thread) -dvb_delay (1 ); +msleep (1 );dvb_unregister (av7110);
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors