projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f0dcb7
)
[SCSI] scsi/qla1280: replace schedule_timeout() with ssleep()
author
Nishanth Aravamudan
<nacc@us.ibm.com>
Mon, 20 Jun 2005 21:55:07 +0000
(23:55 +0200)
committer
James Bottomley
<jejb@titanic.(none)>
Sun, 26 Jun 2005 13:31:26 +0000
(08:31 -0500)
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>
drivers/scsi/qla1280.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/qla1280.c
b/drivers/scsi/qla1280.c
index 1a4ce1c39478b02af8cb637a7531f4842d299f4e..b993652bfa25d3acaaa7332b3ade101a8bd9310f 100644
(file)
--- a/
drivers/scsi/qla1280.c
+++ b/
drivers/scsi/qla1280.c
@@
-2853,7
+2853,7
@@
qla1280_bus_reset(struct scsi_qla_host *ha, int bus)
ha->bus_settings[bus].failed_reset_count++;
} else {
spin_unlock_irq(HOST_LOCK);
- s
chedule_timeout(reset_delay * HZ
);
+ s
sleep(reset_delay
);
spin_lock_irq(HOST_LOCK);
ha->bus_settings[bus].scsi_bus_dead = 0;