diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2013-10-10 10:19:13 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-10-10 10:22:34 +0200 |
commit | 0cd98069ad7acb2a1bdb1bb71b904c1aae0033d0 (patch) | |
tree | eb964eef9773bfccf634487773593e2027d83e43 | |
parent | 9937b8d89e1b70c08330b57afbc62c934e37c9e2 (diff) |
i2c: i2c-arb-gpio-challenge: use deferred probe when adapter not found
If it is not there yet, it might appear later.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
-rw-r--r-- | drivers/i2c/muxes/i2c-arb-gpio-challenge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c index 74b41ae690f..928656e241d 100644 --- a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c +++ b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c @@ -200,7 +200,7 @@ static int i2c_arbitrator_probe(struct platform_device *pdev) arb->parent = of_find_i2c_adapter_by_node(parent_np); if (!arb->parent) { dev_err(dev, "Cannot find parent bus\n"); - return -EINVAL; + return -EPROBE_DEFER; } /* Actually add the mux adapter */ |