diff options
author | Johan Hovold <jhovold@gmail.com> | 2013-10-22 18:32:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-20 12:31:40 -0800 |
commit | be85221c4bab7fa3d930d13683b9edacc24392f3 (patch) | |
tree | 2430d5df7e6b39df8179e824955dcd6ec4dc88e9 /lib/mpi/mpi-bit.c | |
parent | b53ef1347bffe6f9fd40816387d2519c56c27d87 (diff) |
misc: atmel_pwm: add deferred-probing support
commit 5c6d6fd1564138ad048564e48639f842714a90c6 upstream.
Two drivers (atmel-pwm-bl and leds-atmel-pwm) currently depend on the
atmel_pwm driver to have bound to any pwm-device before their devices
are probed.
Support deferred probing of such devices by making sure to return
-EPROBE_DEFER from pwm_channel_alloc when no pwm-device has yet been
bound.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions