I would appreciate any comments from the janitors list.

Thanks,
Nish

Applys-to: 2.6.7

Description: Uses msleep() instead of schedule_timeout() so the task
is guaranteed to delay the desired time.

Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]>


--- linux-vanilla/drivers/media/video/zoran_device.c    2004-06-16 05:19:36.000000000 
+0000
+++ linux-dev/drivers/media/video/zoran_device.c        2004-07-02 21:44:56.000000000 
+0000
@@ -1105,8 +1105,7 @@ zr36057_enable_jpg (struct zoran        
                        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


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to