Searched hist:"28355 f81" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | of_gpio.h | 28355f81 Tue Jul 14 03:29:54 CDT 2015 Tomeu Vizoso <tomeu.vizoso@collabora.com> gpio: defer probe if pinctrl cannot be found
When an OF node has a pin range for its GPIOs, return -EPROBE_DEFER if the pin controller isn't available.
Otherwise, the GPIO range wouldn't be set at all unless the pin controller probed always before the GPIO chip.
With this change, the probe of the GPIO chip will be deferred and will be retried at a later point, hopefully once the pin controller has been registered and probed already.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> 28355f81 Tue Jul 14 03:29:54 CDT 2015 Tomeu Vizoso <tomeu.vizoso@collabora.com> gpio: defer probe if pinctrl cannot be found When an OF node has a pin range for its GPIOs, return -EPROBE_DEFER if the pin controller isn't available. Otherwise, the GPIO range wouldn't be set at all unless the pin controller probed always before the GPIO chip. With this change, the probe of the GPIO chip will be deferred and will be retried at a later point, hopefully once the pin controller has been registered and probed already. Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|
/openbmc/linux/drivers/gpio/ |
H A D | gpiolib-of.c | 28355f81 Tue Jul 14 03:29:54 CDT 2015 Tomeu Vizoso <tomeu.vizoso@collabora.com> gpio: defer probe if pinctrl cannot be found
When an OF node has a pin range for its GPIOs, return -EPROBE_DEFER if the pin controller isn't available.
Otherwise, the GPIO range wouldn't be set at all unless the pin controller probed always before the GPIO chip.
With this change, the probe of the GPIO chip will be deferred and will be retried at a later point, hopefully once the pin controller has been registered and probed already.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|
H A D | gpiolib.c | 28355f81 Tue Jul 14 03:29:54 CDT 2015 Tomeu Vizoso <tomeu.vizoso@collabora.com> gpio: defer probe if pinctrl cannot be found
When an OF node has a pin range for its GPIOs, return -EPROBE_DEFER if the pin controller isn't available.
Otherwise, the GPIO range wouldn't be set at all unless the pin controller probed always before the GPIO chip.
With this change, the probe of the GPIO chip will be deferred and will be retried at a later point, hopefully once the pin controller has been registered and probed already.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|