[PATCH v2 0/6] Introduce deferred probing

Sebastian Hesselbarth sebastian.hesselbarth at gmail.com
Tue Apr 14 15:53:14 PDT 2015


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: barebox at lists.infradead.org
-- 
2.1.0




More information about the barebox mailing list