Re: [PATCH 2/2] backlight: pwm: clean up pwm requested using legacy API
From: Thierry Reding <hidden>
Date: 2014-11-07 13:47:36
Also in:
linux-pwm
Attachments
- (unnamed) [application/pgp-signature] 819 bytes
From: Thierry Reding <hidden>
Date: 2014-11-07 13:47:36
Also in:
linux-pwm
On Sat, Oct 11, 2014 at 04:46:26PM +0300, Vladimir Zapolskiy wrote:
If PWM device is requested by means of legacy API pwm_request(), its resources are not freed on module unbind, which may cause an oops on access, e.g. by reading /sys/kernel/debug/pwm. Reported-by: Dmitry Eremin-Solenikov <redacted> Signed-off-by: Vladimir Zapolskiy <redacted> --- drivers/video/backlight/pwm_bl.c | 4 ++++ 1 file changed, 4 insertions(+)
Hopefully this can soon go away when all users of the legacy API have been converted. Until then: Acked-by: Thierry Reding <redacted>