Thread (17 messages) flat view 17 messages, 4 authors, 2016-05-27

Re: [PATCH] Input: pwm-beeper - fix: scheduling while atomic

From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date: 2016-05-18 16:06:10
Also in: lkml

On Wed, May 18, 2016 at 05:16:49PM +0200, Manfred Schlaegl wrote:
Pwm config may sleep so defer it using a worker.

Trigger:
On a Freescale i.MX53 based board we ran into "BUG: scheduling while
atomic" because input_inject_event locks interrupts, but
imx_pwm_config_v2 sleeps.

Tested on Freescale i.MX53 SoC with 4.6.0 and 4.1.24.

Unmodified applicable to
 * 4.6    (stable)
 * 4.5.4  (stable)
 * 4.4.10 (longterm)
 * 4.1.24 (longterm)

Modified applicable to
 * 3.18.33 (longterm)
What does this all mean?  Have you read
Documentation/stable_kernel_rules.txt for how to mark things for stable
inclusion?

thanks,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help