projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9937b8d
)
i2c: i2c-arb-gpio-challenge: use deferred probe when adapter not found
author
Wolfram Sang
<wsa@the-dreams.de>
Thu, 10 Oct 2013 08:19:13 +0000
(10:19 +0200)
committer
Wolfram Sang
<wsa@the-dreams.de>
Thu, 10 Oct 2013 08:22:34 +0000
(10:22 +0200)
If it is not there yet, it might appear later.
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/muxes/i2c-arb-gpio-challenge.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c
b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c
index
74b41ae
..
928656e
100644
(file)
--- 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 -E
INVAL
;
+ return -E
PROBE_DEFER
;
}
/* Actually add the mux adapter */