Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60d3f5b0 authored by Stephen M. Cameron's avatar Stephen M. Cameron Committed by James Bottomley
Browse files

[SCSI] hpsa: use usleep_range not msleep for small sleeps

parent 02ec19c8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
	}
}