net/ni65: replace
Subsystems (2)
PATCH 25/38 net/ni65: replace
Any comments would be appreciated.
Description: Use msleep() instead of schedule_timeout() to guarantee the task delays as expected.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/net/ni65.c +1 -2
@@ -526,8 +526,7 @@ static int __init ni65_probe1(struct netni65_init_lance (p,dev->dev_addr,0 ,0 ); irq_mask =probe_irq_on ();writereg (CSR0_INIT |CSR0_INEA ,CSR0 );/* trigger interrupt */ -set_current_state (TASK_UNINTERRUPTIBLE ); -schedule_timeout (HZ /50 ); +msleep (20 ); dev->irq =probe_irq_off (irq_mask);if (!dev->irq) {
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors