usb/auerswald: replace schedule_timeout()
Subsystems (2)
PATCH 1/1 usb/auerswald: replace schedule_timeout()
I would appreciate any comments from the janitors list.
Applys-to: 2.6.7
Description: Use msleep() instead of schedule_timeout() to guarantee the task delays for the desired time.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/usb/misc/auerswald.c +1 -2
@@ -1974,8 +1974,7 @@ static int auerswald_probe (struct usb_idbg ("Version is %X" , cp->version);/* allow some time to settle the device */ -set_current_state (TASK_UNINTERRUPTIBLE ); -schedule_timeout (HZ /3 ); +msleep (334 );/* Try to get a suitable textual description of the device */ /* Device name:*/
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors