public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH] staging: atomisp: use usleep_range instead of msleep for short delays
@ 2026-04-15 14:17 Ramon Watson Vilar
  0 siblings, 0 replies; only message in thread
From: Ramon Watson Vilar @ 2026-04-15 14:17 UTC (permalink / raw)
  To: hansg, mchehab, gregkh
  Cc: sakari.ailus, linux-media, linux-staging, linux-kernel,
	Ramon Watson Vilar

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-15 14:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-15 14:17 [PATCH] staging: atomisp: use usleep_range instead of msleep for short delays Ramon Watson Vilar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox