Message ID | 20181128114535.80223-5-andriy.shevchenko@linux.intel.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Series | i2c-multi-instantiate: Adapt for INT3515 and alike | expand |
diff --git a/drivers/platform/x86/i2c-multi-instantiate.c b/drivers/platform/x86/i2c-multi-instantiate.c index e3345da82c84..16a0eabe1e31 100644 --- a/drivers/platform/x86/i2c-multi-instantiate.c +++ b/drivers/platform/x86/i2c-multi-instantiate.c @@ -75,7 +75,7 @@ static int i2c_multi_inst_probe(struct platform_device *pdev) if (IS_ERR(multi->clients[i])) ret = PTR_ERR(multi->clients[i]); else if (!multi->clients[i]) - ret = -ENODEV; + ret = -EPROBE_DEFER; /* Wait for i2c-adapter to load */ else ret = 0; if (ret) {