[RFC] backlight: pwm: Handle EPROBE_DEFER while requesting the PWM
Petr Cvek
petr.cvek at tul.cz
Wed Jul 22 17:15:54 PDT 2015
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
More information about the linux-arm-kernel
mailing list