Thread (3 messages) 3 messages, 3 authors, 2016-01-03

[PATCH v2] i2c: imx: make bus recovery through pinctrl optional

From: Linus Walleij <hidden>
Date: 2015-11-30 12:55:22
Also in: linux-gpio, linux-i2c, lkml

On Fri, Nov 20, 2015 at 10:45 PM, Li Yang [off-list ref] wrote:
-       if (IS_ERR(i2c_imx->pinctrl)) {
+       /* bailout on -ENOMEM or -EPROBE_DEFER, continue for other errors */
+       if (PTR_ERR(i2c_imx->pinctrl) == -ENOMEM ||
+                       PTR_ERR(i2c_imx->pinctrl) == -EPROBE_DEFER) {
This is one of the evils of deferred probe: you never know if
something will eventually turn up. It feels wrong to bail out
on deferred probe...

I have no better idea though.
Acked-by

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help