diff options
author | Manfred Schlaegl <manfred.schlaegl@gmx.at> | 2016-05-27 16:36:36 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-05-27 16:40:30 -0700 |
commit | f49cf3b8b4c841457244c461c66186a719e13bcc (patch) | |
tree | 11485c8b7383180ea9a68990dd58e79c5ffd88ab /fs | |
parent | 6f49a398b266d4895bd7e041db77a2b2ee1482a6 (diff) | |
download | op-kernel-dev-f49cf3b8b4c841457244c461c66186a719e13bcc.zip op-kernel-dev-f49cf3b8b4c841457244c461c66186a719e13bcc.tar.gz |
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions