Skip to content

Commit

Permalink
i2c: i2c-arb-gpio-challenge: use deferred probe when adapter not found
Browse files Browse the repository at this point in the history
If it is not there yet, it might appear later.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
  • Loading branch information
Wolfram Sang committed Oct 10, 2013
1 parent 9937b8d commit 0cd9806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/i2c/muxes/i2c-arb-gpio-challenge.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 0cd9806

Please sign in to comment.