net/ns83820: replace schedule_timeout()
Subsystems (2)
PATCH 1/1 net/ns83820: replace schedule_timeout()
I would appreciate any comments from the janitors list.
Applys-to: 2.6.7
Description: Replace schedule_timeout() with msleep() to guarantee the task delays for the desired time.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/net/ns83820.c +1 -1
@@ -1959,7 +1959,7 @@ static int __devinit ns83820_init_one(stprintk (KERN_INFO "%s: resetting phy\n" , ndev->name);writel (dev->CFG_cache |CFG_PHY_RST , dev->base +CFG );set_current_state (TASK_UNINTERRUPTIBLE ); -schedule_timeout ((HZ +99 )/100 ); +schedule_timeout (10 );writel (dev->CFG_cache, dev->base +CFG ); }
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors