Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1460077
| From | David Hsu <davidhsu@google.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] pwm: Unexport children before chip removal |
| Date | 2016-08-11 01:00 +0200 |
| Message-ID | <s4KDE-2TN-23@gated-at.bofh.it> (permalink) |
| References | <s4ne2-4FM-15@gated-at.bofh.it> <s4KDE-2TN-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] pwm: Unexport children before chip removal David Hsu <davidhsu@google.com> - 2016-08-10 00:00 +0200 Re: [PATCH] pwm: Unexport children before chip removal David Hsu <davidhsu@google.com> - 2016-08-11 01:00 +0200
csiph-web