[PATCH] staging: atomisp: use usleep_range instead of msleep for short delays

Ramon Watson Vilar
2026-04-15T14:17:58Z

Signed-off-by: Ramon Watson Vilar <watsonvilar@gmail.com>
---
drivers/staging/media/atomisp/i2c/atomisp-gc2235.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/media/atomisp/i2c/atomisp-gc2235.c b/drivers/staging/media/atomisp/i2c/atomisp-gc2235.c
index d3414312e1de..e0b0f09a5c26 100644
--- a/drivers/staging/media/atomisp/i2c/atomisp-gc2235.c
+++ b/drivers/staging/media/atomisp/i2c/atomisp-gc2235.c
@@ -433,7 +433,7 @@ static int power_up(struct v4l2_subdev *sd)
goto fail_power;
}

- msleep(5);
+ usleep_range(5000, 10000);
return 0;

fail_clk:
--
2.53.0