[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAH7o3i44Fgtoii=g4NSkXEK2_44KXLreuDAAb-7g1-OS2XxPJA@mail.gmail.com>
Date: Wed, 10 Aug 2016 15:54:19 -0700
From: David Hsu <davidhsu@...gle.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: Thierry Reding <thierry.reding@...il.com>,
Sandeep Patil <sspatil@...gle.com>, linux-pwm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pwm: Unexport children before chip removal
On Wed, Aug 10, 2016 at 1:49 AM, Greg KH <gregkh@...uxfoundation.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@...gle.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
Powered by blists - more mailing lists