summaryrefslogtreecommitdiffstats
path: root/lib/halfmd4.c
diff options
context:
space:
mode:
authorManfred Schlaegl <manfred.schlaegl@gmx.at>2016-05-27 16:36:36 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-05-27 16:40:30 -0700
commitf49cf3b8b4c841457244c461c66186a719e13bcc (patch)
tree11485c8b7383180ea9a68990dd58e79c5ffd88ab /lib/halfmd4.c
parent6f49a398b266d4895bd7e041db77a2b2ee1482a6 (diff)
downloadlinux-f49cf3b8b4c841457244c461c66186a719e13bcc.tar.bz2
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 'lib/halfmd4.c')
0 files changed, 0 insertions, 0 deletions