[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160905144641.GR31424@ulmo.ba.sec>
Date: Mon, 5 Sep 2016 16:46:41 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: David Hsu <davidhsu@...gle.com>
Cc: gregkh@...uxfoundation.org, sspatil@...gle.com,
linux-pwm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pwm: Unexport children before chip removal
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(+)
I've applied this with the following added to the commit message:
Fixes: 76abbdde2d95 ("pwm: Add sysfs interface")
since this seems to have been wrong since forever.
Thierry
Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)
Powered by blists - more mailing lists