projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
186fb9c
)
cciss: use usleep_range not msleep for small sleeps
author
Stephen M. Cameron
<scameron@beardog.cce.hp.com>
Fri, 22 Oct 2010 19:21:22 +0000
(14:21 -0500)
committer
Jens Axboe
<jaxboe@fusionio.com>
Sat, 23 Oct 2010 16:45:09 +0000
(18:45 +0200)
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/cciss.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/block/cciss.c
b/drivers/block/cciss.c
index 9e761b994b4c0e84f6e22e687052fe2f67f9fdca..c792a6080d519d392dc80bc5c842de7dbe85e01d 100644
(file)
--- a/
drivers/block/cciss.c
+++ b/
drivers/block/cciss.c
@@
-3785,7
+3785,7
@@
static void __devinit cciss_wait_for_mode_change_ack(ctlr_info_t *h)
for (i = 0; i < MAX_CONFIG_WAIT; i++) {
if (!(readl(h->vaddr + SA5_DOORBELL) & CFGTBL_ChangeReq))
break;
-
msleep(1
0);
+
usleep_range(10000, 2000
0);
}
}