commit | f49cf3b8b4c841457244c461c66186a719e13bcc | [log] [tgz] |
---|---|---|
author | Manfred Schlaegl <manfred.schlaegl@gmx.at> | Fri May 27 16:36:36 2016 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Fri May 27 16:40:30 2016 -0700 |
tree | 11485c8b7383180ea9a68990dd58e79c5ffd88ab | |
parent | 6f49a398b266d4895bd7e041db77a2b2ee1482a6 [diff] |
Input: pwm-beeper - fix - scheduling while atomic Pwm config may sleep so defer it using a worker. 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. Signed-off-by: Manfred Schlaegl <manfred.schlaegl@gmx.at> Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>