scsi/wd7000: replace schedule_timeout()
Subsystems (2)
PATCH 1/1 scsi/wd7000: replace schedule_timeout()
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/scsi/wd7000.c +1 -2
@@ -1516,8 +1516,7 @@ static int wd7000_detect(Scsi_Host_Templ* ASC reset... */ outb (ASC_RES , iobase +ASC_CONTROL ); -set_current_state (TASK_UNINTERRUPTIBLE ); -schedule_timeout (HZ /100 ); +msleep (10 );outb (0 , iobase +ASC_CONTROL );if (WAIT (iobase +ASC_STAT ,ASC_STATMASK ,CMD_RDY ,0 )) {
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors