From: Ye Li Date: Tue, 19 Feb 2019 07:51:46 +0000 (-0800) Subject: MLK-20945-3 imx_virt_i2c: Add DM_FLAG_IGNORE_POWER_ON flag X-Git-Tag: rel_imx_4.19.35_1.1.0~575 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=6ac1ee462c7000e7017c55f76550551a6267dc58;p=u-boot.git MLK-20945-3 imx_virt_i2c: Add DM_FLAG_IGNORE_POWER_ON flag When we probe device with virtual i2c driver, it will definitely fail to power up the PD. Becasue the resource is owned by M4. So set this driver to ignore the power up result Signed-off-by: Ye Li (cherry picked from commit 7f753d1b5950015b11be58aa937e5c14b9f26d7a) --- diff --git a/drivers/i2c/imx_virt_i2c.c b/drivers/i2c/imx_virt_i2c.c index bf9486f399..678e22fb91 100644 --- a/drivers/i2c/imx_virt_i2c.c +++ b/drivers/i2c/imx_virt_i2c.c @@ -306,5 +306,5 @@ U_BOOT_DRIVER(imx_virt_i2c) = { .child_post_bind = imx_virt_i2c_child_post_bind, .priv_auto_alloc_size = sizeof(struct imx_virt_i2c_bus), .ops = &imx_virt_i2c_ops, - .flags = DM_FLAG_IGNORE_DEFAULT_CLKS, + .flags = DM_FLAG_IGNORE_POWER_ON | DM_FLAG_IGNORE_DEFAULT_CLKS, };