From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH 2/2] backlight: pwm: clean up pwm requested using legacy API Date: Sat, 11 Oct 2014 07:21:56 -0700 Message-ID: <20141011142156.GC11456@kroah.com> References: <1413035186-11771-1-git-send-email-vladimir_zapolskiy@mentor.com> <1413035186-11771-3-git-send-email-vladimir_zapolskiy@mentor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1413035186-11771-3-git-send-email-vladimir_zapolskiy@mentor.com> Sender: stable-owner@vger.kernel.org To: Vladimir Zapolskiy Cc: linux-fbdev@vger.kernel.org, linux-pwm@vger.kernel.org, Thierry Reding , Jingoo Han , Bryan Wu , Lee Jones , stable@vger.kernel.org List-Id: linux-pwm@vger.kernel.org On Sat, Oct 11, 2014 at 04:46:26PM +0300, Vladimir Zapolskiy wrote: > 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 > Signed-off-by: Vladimir Zapolskiy > --- > drivers/video/backlight/pwm_bl.c | 4 ++++ > 1 file changed, 4 insertions(+) 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.