[RFC] backlight: pwm: Handle EPROBE_DEFER while requesting the PWM

From: Petr Cvek <hidden>
Date: 2015-07-23 00:15:54
Also in: linux-pwm

Hello,
It seems, that commit

	68feaca0b13e453aa14ee064c1736202b48b342f

blocks the "legacy" call to request a PWM chip from PXA27x architecture (pwm_pxa). Checking for EPROBE_DEFER (default return from devm_pwm_get if pwm is not found) causes jump over it. Older versions of kernel (tested on 3.13-rc7) and modified 4.2.0-rc1 (commented goto) works. 

My question is: Should I write patch modifying error checking path or rather migrate legacy PXA driver to new API (I can only test pwm_pxa and only on one specific device)? 

Petr Cvek
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help