This patch makes the following change: * Replaces the call the msleep() to usleep_range() where msleep was used for a delay less than 20ms. Signed-off-by: Jonathan Bergh <bergh.jonathan@xxxxxxxxx> --- drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c b/drivers/staging/media/atomisp/pci/atomisp_v4l2.c index cd00282b87b7..607453740dc9 100644 --- a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c +++ b/drivers/staging/media/atomisp/pci/atomisp_v4l2.c @@ -594,7 +594,7 @@ static int atomisp_mrfld_power(struct atomisp_device *isp, bool enable) } while (1); if (enable) - msleep(10); + usleep_range(10000, 15000); dev_err(isp->dev, "IUNIT power-%s timeout.\n", enable ? "on" : "off"); return -EBUSY; -- 2.40.1