summaryrefslogtreecommitdiff
path: root/kernel/wait.c
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2013-10-22 16:32:39 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-11-20 20:37:36 (GMT)
commit0fe6a2bc2f2ee462d158c737bae7c50ab72b6b57 (patch)
treed236dcc03eccf6ace0594da0a663210b832e1c99 /kernel/wait.c
parenta80d0c3c09801b9550b025c77b4c0f0487f8fa75 (diff)
downloadlinux-fsl-qoriq-0fe6a2bc2f2ee462d158c737bae7c50ab72b6b57.tar.xz
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 'kernel/wait.c')
0 files changed, 0 insertions, 0 deletions