Re: [PATCH 1/2] misc: atmel_pwm: add deferred-probing support

2013-10-30 Thread Greg Kroah-Hartman
On Wed, Oct 30, 2013 at 12:25:51PM +0100, Johan Hovold wrote: > On Tue, Oct 22, 2013 at 06:32:39PM +0200, Johan Hovold wrote: > > 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. > > > >

Re: [PATCH 1/2] misc: atmel_pwm: add deferred-probing support

2013-10-30 Thread Johan Hovold
On Tue, Oct 22, 2013 at 06:32:39PM +0200, Johan Hovold wrote: > 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 > -EPROB

[PATCH 1/2] misc: atmel_pwm: add deferred-probing support

2013-10-22 Thread Johan Hovold
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. Sig