usb/pxa2xx_udc.c: replace
Subsystems (2)
PATCH 1/1 usb/pxa2xx_udc.c: replace
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/gadget/pxa2xx_udc.c +1 -1
@@ -1508,7 +1508,7 @@ static void udc_enable (struct pxa2xx_ud/* caller must be able to sleep in order to cope * with startup transients. */ -schedule_timeout (HZ /10 ); +msleep (100 );/* enable suspend/resume and reset irqs */ udc_clear_mask_UDCCR (UDCCR_SRM |UDCCR_REM );
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors