mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
media: i2c: imx415: adjusting the power on timing
Fixes: 920198cd6c ("media: i2c: imx415 adapt sleep_wakeup")
Change-Id: I184eff8ca204ae09abe86e31d4b70f9876fcfaf8
Signed-off-by: Lan Honglin <helin.lan@rock-chips.com>
This commit is contained in:
@@ -2466,15 +2466,15 @@ int __imx415_power_on(struct imx415 *imx415)
|
||||
if (imx415->is_thunderboot)
|
||||
return 0;
|
||||
|
||||
/* At least 20us between XCLR and I2C communication */
|
||||
usleep_range(20*1000, 30*1000);
|
||||
|
||||
ret = regulator_bulk_enable(IMX415_NUM_SUPPLIES, imx415->supplies);
|
||||
if (ret < 0) {
|
||||
dev_err(dev, "Failed to enable regulators\n");
|
||||
goto err_pinctrl;
|
||||
}
|
||||
|
||||
/* At least 20us between XCLR and I2C communication */
|
||||
usleep_range(20*1000, 30*1000);
|
||||
|
||||
return 0;
|
||||
|
||||
err_pinctrl:
|
||||
|
||||
Reference in New Issue
Block a user