scsi/sata_promise: replace
Subsystems (2)
PATCH 1/1 scsi/sata_promise: 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/scsi/sata_promise.c +1 -2
@@ -518,8 +518,7 @@ static void pdc_host_init(unsigned int cwritel (tmp, mmio +PDC_TBG_MODE );readl (mmio +PDC_TBG_MODE );/* flush */ -set_current_state (TASK_UNINTERRUPTIBLE ); -schedule_timeout (msecs_to_jiffies (10 ) +1 ); +msleep (10 );/* adjust slew rate control register. */ tmp =readl (mmio +PDC_SLEW_CTL );
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors