lkml.org 
[lkml]   [2016]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] pwm: Unexport children before chip removal
On Wed, Aug 10, 2016 at 1:49 AM, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Tue, Aug 09, 2016 at 02:57:46PM -0700, David Hsu wrote:
>> Exported pwm channels aren't removed before the pwmchip and are
>> leaked. This results in invalid sysfs files. This fix removes
>> all exported pwm channels before chip removal.
>>
>> Signed-off-by: David Hsu <davidhsu@google.com>
>> ---
>> drivers/pwm/core.c | 2 ++
>> drivers/pwm/sysfs.c | 18 ++++++++++++++++++
>> include/linux/pwm.h | 5 +++++
>> 3 files changed, 25 insertions(+)
>
> Should this also go to the stable kernel releases?
>

Yes, this should go into stable.

Thanks,
David

> thanks,
>
> greg k-h

\
 
 \ /
  Last update: 2016-08-11 01:41    [W:0.080 / U:2.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site