atm/lanai: replace schedule_timeout()
Subsystems (2)
PATCH 5/5 atm/lanai: replace schedule_timeout()
Any comments would be appreciated.
Description: msleep() is used instead of schedule_timeout() to guarantee the task delays as expected.
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/atm/lanai.c +1 -1
@@ -813,7 +813,7 @@ static void lanai_shutdown_tx_vci(structDPRINTK ("read, write = %d, %d\n" , read, write);break ; } -schedule_timeout (HZ /25 ); +msleep (40 ); }/* 15.2.2 - clear out all tx registers */ cardvcc_write (lvcc,0 , vcc_txreadptr);
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors