android_kernel_motorola_sm6375/drivers/input
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dmitry Torokhov e9728f0dd7 Input: pwm-beeper - fix race when suspending
Usually userspace sends SND_BELL and SND_TONE events, and by the time
pwm_beeper_suspend() runs userpsace is already frozen, but theoretically
in-kernel users may send these events too, and that may cause
pwm_beeper_event() scheduling another work after we canceled it.

Let's introduce a "suspended" flag and check it in pwm_beeper_event() to
avoid this race.

Reviewed-by: Thierry Reding <thierry.reding@gmail.com>
Tested-by: David Lechner <david@lechnology.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2017-01-22 00:23:19 -08:00
..
gameport
joystick Input: xpad - don't depend on endpoint order 2017-01-06 10:31:51 -08:00
keyboard Input: keyboard - drop unnecessary calls to device_init_wakeup 2017-01-21 23:53:19 -08:00
misc Input: pwm-beeper - fix race when suspending 2017-01-22 00:23:19 -08:00
mouse Input: mouse - use local variables consistently 2017-01-21 23:52:22 -08:00
rmi4 Merge branch 'synaptics-rmi4' into next 2016-12-15 21:36:09 -08:00
serio Input: serio - drop unnecessary calls to device_init_wakeup 2017-01-21 23:53:32 -08:00
tablet Input: pegasus_notetaker - directly include workqueue header 2016-08-25 10:11:32 -07:00
touchscreen Input: touchscreen - drop unnecessary calls to device_init_wakeup 2017-01-21 23:53:30 -08:00
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-leds.c
input-mt.c Input: update input_mt_report_pointer_emulation to support hovering 2016-06-01 14:21:10 -07:00
input-polldev.c
input.c Merge branch 'for-linus' into next 2016-07-19 11:02:56 -07:00
joydev.c Input: joydev - recognize devices with Z axis as joysticks 2016-09-26 20:03:06 -07:00
Kconfig
Makefile
matrix-keymap.c
mousedev.c
sparse-keymap.c