Sebastian Hesselbarth
2015-04-14 22:53:14 UTC
This is round two of the introduction of deferred probing by moving
drivers that request probe deferral to an extra device list that will
be re-probed later.
Compared to v1 there are the following changes:
- Loop over deferred device list until none succeeds
(Suggested by Sascha Hauer)
- (Now) properly deal with deferred probing in led-gpio
- Free GPIOs claimed by leds on foo_led_unregister()
- Convert Orion GPIO to real platform driver
Each patch also contains an individual changelog.
It would be great to give this patch series a little more coverage.
Also, several other subsystems could use some support -EPROBE_DEFER
but IMHO we should wait for someone to actually force probe deferral
there.
Sebastian Hesselbarth (6):
base: Introduce deferred probing
gpio: Return -EPROBE_DEFER on gpio_get_num()
OF: gpio: Silence error message on -EPROBE_DEFER
led: gpio: Properly deal with deferred probing
led: gpio: Free GPIOs on unregister()
gpio: orion: Convert to platform_driver
drivers/base/driver.c | 56 ++++++++++++++++++++++++++++++++++++++++++---
drivers/gpio/gpio-orion.c | 7 +-----
drivers/gpio/gpiolib.c | 5 +++-
drivers/led/led-gpio.c | 36 +++++++++++++++++++++++++----
drivers/of/of_gpio.c | 8 ++++---
include/asm-generic/errno.h | 1 +
6 files changed, 96 insertions(+), 17 deletions(-)
---
Cc: ***@lists.infradead.org
drivers that request probe deferral to an extra device list that will
be re-probed later.
Compared to v1 there are the following changes:
- Loop over deferred device list until none succeeds
(Suggested by Sascha Hauer)
- (Now) properly deal with deferred probing in led-gpio
- Free GPIOs claimed by leds on foo_led_unregister()
- Convert Orion GPIO to real platform driver
Each patch also contains an individual changelog.
It would be great to give this patch series a little more coverage.
Also, several other subsystems could use some support -EPROBE_DEFER
but IMHO we should wait for someone to actually force probe deferral
there.
Sebastian Hesselbarth (6):
base: Introduce deferred probing
gpio: Return -EPROBE_DEFER on gpio_get_num()
OF: gpio: Silence error message on -EPROBE_DEFER
led: gpio: Properly deal with deferred probing
led: gpio: Free GPIOs on unregister()
gpio: orion: Convert to platform_driver
drivers/base/driver.c | 56 ++++++++++++++++++++++++++++++++++++++++++---
drivers/gpio/gpio-orion.c | 7 +-----
drivers/gpio/gpiolib.c | 5 +++-
drivers/led/led-gpio.c | 36 +++++++++++++++++++++++++----
drivers/of/of_gpio.c | 8 ++++---
include/asm-generic/errno.h | 1 +
6 files changed, 96 insertions(+), 17 deletions(-)
---
Cc: ***@lists.infradead.org
--
2.1.0
2.1.0