Skip to content

Commit

Permalink
[SCSI] hpsa: use usleep_range not msleep for small sleeps
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
  • Loading branch information
Stephen M. Cameron authored and James Bottomley committed Jan 24, 2011
1 parent 02ec19c commit 60d3f5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/hpsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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(10);
usleep_range(10000, 20000);
}
}

Expand Down

0 comments on commit 60d3f5b

Please sign in to comment.