diff options
author | Manfred Schlaegl <manfred.schlaegl@gmx.at> | 2016-05-27 16:36:36 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-01 12:15:49 -0700 |
commit | 02c23447d5e30642ddcbaec014dedcf62f6e2d92 (patch) | |
tree | 4b75bad89b24fad6d7e004f1fde455da6b03d4b7 /fs | |
parent | c5215990d6ce401cefca648bff578a0a33667f75 (diff) |
Input: pwm-beeper - fix - scheduling while atomic
commit f49cf3b8b4c841457244c461c66186a719e13bcc upstream.
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>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions