[PATCH v3 2/2] media: i2c: imx412: Extend the power-on waiting time

Wenmeng Liu posted 2 patches 3 weeks ago
There is a newer version of this series
[PATCH v3 2/2] media: i2c: imx412: Extend the power-on waiting time
Posted by Wenmeng Liu 3 weeks ago
The Arducam IMX577 module requires a longer reset time than the 1000µs
configured in the current driver. Increase the wait time after power-on
to ensure proper initialization.

Signed-off-by: Wenmeng Liu <wenmeng.liu@oss.qualcomm.com>
---
 drivers/media/i2c/imx412.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/i2c/imx412.c b/drivers/media/i2c/imx412.c
index ebc2fb706442365f541540bf4ce9d307d42e0061..23a418edfeac067fc347e18c868396e20ece6b12 100644
--- a/drivers/media/i2c/imx412.c
+++ b/drivers/media/i2c/imx412.c
@@ -1039,7 +1039,7 @@ static int imx412_power_on(struct device *dev)
 
 	gpiod_set_value_cansleep(imx412->reset_gpio, 0);
 
-	usleep_range(1000, 1200);
+	usleep_range(10000, 12000);
 
 	return 0;
 

-- 
2.34.1