projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/drivers/i2c/muxes/i2c-arb-gpio-challenge.c
b/drivers/i2c/muxes/i2c-arb-gpio-challenge.c
index 74b41ae690f3e6dab7271319ed62c436ac30935a..928656e241ddc0873613dd7a5b786be4f0e5250e 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 */