diff options
author | Nishanth Aravamudan <nacc@us.ibm.com> | 2005-06-20 17:55:07 -0400 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-06-26 09:31:26 -0400 |
commit | 117e4b27ebb1133072b1453145e60e576569e8af (patch) | |
tree | 74c75db80f838c86de60afbd3f921edcd22d1c7d /drivers/scsi | |
parent | 6f0dcb72d6a053fff9288b742d3bcc9b23f0f6db (diff) |
[SCSI] scsi/qla1280: replace schedule_timeout() with ssleep()
Use ssleep() instead of schedule_timeout to guarantee the task
delays as expected.
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/qla1280.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c index 1a4ce1c39478..b993652bfa25 100644 --- a/drivers/scsi/qla1280.c +++ b/drivers/scsi/qla1280.c | |||
@@ -2853,7 +2853,7 @@ qla1280_bus_reset(struct scsi_qla_host *ha, int bus) | |||
2853 | ha->bus_settings[bus].failed_reset_count++; | 2853 | ha->bus_settings[bus].failed_reset_count++; |
2854 | } else { | 2854 | } else { |
2855 | spin_unlock_irq(HOST_LOCK); | 2855 | spin_unlock_irq(HOST_LOCK); |
2856 | schedule_timeout(reset_delay * HZ); | 2856 | ssleep(reset_delay); |
2857 | spin_lock_irq(HOST_LOCK); | 2857 | spin_lock_irq(HOST_LOCK); |
2858 | 2858 | ||
2859 | ha->bus_settings[bus].scsi_bus_dead = 0; | 2859 | ha->bus_settings[bus].scsi_bus_dead = 0; |