]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: i2c: imx412: Extend the power-on waiting time
authorWenmeng Liu <wenmeng.liu@oss.qualcomm.com>
Fri, 23 Jan 2026 09:19:56 +0000 (17:19 +0800)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 11 Mar 2026 00:05:29 +0000 (01:05 +0100)
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>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/imx412.c

index aa63dfc349181bf9c180ffd566b0317d05b410c1..e25e0a9ff65c3554d1d1c8297d945378c2c1f27b 100644 (file)
@@ -1037,7 +1037,11 @@ static int imx412_power_on(struct device *dev)
                goto error_reset;
        }
 
-       usleep_range(1000, 1200);
+       /*
+        * Certain Arducam IMX577 module variants require a longer reset settle
+        * time. Increasing the delay from 1ms to 10ms ensures reliable startup.
+        */
+       usleep_range(10000, 12000);
 
        return 0;