projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02ec19c
)
[SCSI] hpsa: use usleep_range not msleep for small sleeps
author
Stephen M. Cameron
<scameron@beardog.cce.hp.com>
Thu, 6 Jan 2011 20:48:34 +0000
(14:48 -0600)
committer
James Bottomley
<James.Bottomley@suse.de>
Mon, 24 Jan 2011 17:30:56 +0000
(11:30 -0600)
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/hpsa.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/hpsa.c
b/drivers/scsi/hpsa.c
index
10076f1
..
ddd729e
100644
(file)
--- a/
drivers/scsi/hpsa.c
+++ b/
drivers/scsi/hpsa.c
@@
-3571,7
+3571,7
@@
static void __devinit hpsa_wait_for_mode_change_ack(struct ctlr_info *h)
if (!doorbell_value & CFGTBL_ChangeReq)
break;
/* delay and try again */
-
msleep(1
0);
+
usleep_range(10000, 2000
0);
}
}