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

Commit 332c2f80 authored by Stephen M. Cameron's avatar Stephen M. Cameron Committed by Jens Axboe
Browse files

cciss: use usleep_range not msleep for small sleeps

parent 186fb9cf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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(10);
		usleep_range(10000, 20000);
	}
}