2/3: 2.6.8 zr36067 driver - use msleep() instead of schedule_timeout()
PATCH 1/1 2/3: 2.6.8 zr36067 driver - use msleep() instead of schedule_timeout()
Hi,
attached patch makes the zr36067 driver use msleep() instead of schedule_timeout() with uninterruptible state. Patch originally submitted by Nishanth Aravamudan <[email protected]> (7/26).
Ronald
Signed-off-by Ronald Bultje <[email protected]>
Signed-off-by Nishanth Aravamudan <[email protected]>
Signature · 1 line
Ronald Bultje <[email protected]>
Index: linux/drivers/media/video/zoran_device.c
drivers/media/video/zoran_device.c +1 -2
@@ -1105,8 +1105,7 @@ ZR36057_ISR);btand (~ZR36057_JMC_Go_en,ZR36057_JMC );// \Go_en - current->state =TASK_UNINTERRUPTIBLE ; -schedule_timeout (HZ /20 ); +msleep (50 );set_videobus_dir (zr,0 );set_frame (zr,1 );// /FRAME