pcmcia/sa1100_h3600: replace
Subsystems (2)
PATCH 1/1 pcmcia/sa1100_h3600: 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/pcmcia/sa1100_h3600.c +1 -2
@@ -96,8 +96,7 @@ static void h3600_pcmcia_socket_init(strset_h3600_egpio (IPAQ_EGPIO_OPT_ON );clr_h3600_egpio (IPAQ_EGPIO_OPT_RESET ); -set_current_state (TASK_UNINTERRUPTIBLE ); -schedule_timeout (10 *HZ /1000 ); +msleep (10 );soc_pcmcia_enable_irqs (skt, irqs,ARRAY_SIZE (irqs)); }
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors