From 76e89f4a9a2ed1331572f60b30854463afdfed50 Mon Sep 17 00:00:00 2001 From: Ye Li Date: Sun, 28 Apr 2019 04:12:34 -0700 Subject: [PATCH] MLK-21850-2 imx_virt_i2c: Add DM_FLAG_IGNORE_DEFAULT_CLKS flag When we probe device with virtual i2c driver, assigning default clock will definitely return false, becasue the resource is owned by M4. So set this driver to ignore the default clocks Signed-off-by: Ye Li --- drivers/i2c/imx_virt_i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/imx_virt_i2c.c b/drivers/i2c/imx_virt_i2c.c index 68ad9f491e..43afea5402 100644 --- a/drivers/i2c/imx_virt_i2c.c +++ b/drivers/i2c/imx_virt_i2c.c @@ -299,4 +299,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, }; -- 2.17.1