Re: [PATCH 2/2] backlight: pwm: clean up pwm requested using legacy API
From: Greg KH <gregkh@linuxfoundation.org>
Date: 2014-11-06 22:54:20
Also in:
linux-pwm
From: Greg KH <gregkh@linuxfoundation.org>
Date: 2014-11-06 22:54:20
Also in:
linux-pwm
On Fri, Nov 07, 2014 at 12:10:25AM +0200, Vladimir Zapolskiy wrote:
Hello Greg, Thierry, On 11.10.2014 17:21, Greg KH wrote:quoted
On Sat, Oct 11, 2014 at 04:46:26PM +0300, Vladimir Zapolskiy wrote:quoted
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(+)<formletter> This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly. </formletter> --could you please review the change? I believe it would be nice to have oops fix in v3.18.
drivers/video/ is not under my control, so there's nothing I can do here, sorry...