android_kernel_oneplus_msm8998/drivers/input
Anson Huang 3bf16c452b Input: snvs_pwrkey - initialize necessary driver data before enabling IRQ
commit bf2a7ca39fd3ab47ef71c621a7ee69d1813b1f97 upstream.

SNVS IRQ is requested before necessary driver data initialized,
if there is a pending IRQ during driver probe phase, kernel
NULL pointer panic will occur in IRQ handler. To avoid such
scenario, just initialize necessary driver data before enabling
IRQ. This patch is inspired by NXP's internal kernel tree.

Fixes: d3dc6e2322 ("input: keyboard: imx: add snvs power key driver")
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-05-16 19:45:03 +02:00
..
gameport
joystick Input: xpad - add support for SteelSeries Stratus Duo 2019-02-06 19:43:04 +01:00
keyboard Input: snvs_pwrkey - initialize necessary driver data before enabling IRQ 2019-05-16 19:45:03 +02:00
misc Input: bma150 - register input device after setting private data 2019-02-20 10:13:22 +01:00
mouse Input: elan_i2c - add id for touchpad found in Lenovo s21e-20 2019-03-23 08:44:28 +01:00
serio Input: i8042 - add Lenovo LaVie Z to the i8042 reset list 2018-08-06 16:24:29 +02:00
tablet Input: wacom_serial4 - add support for Wacom ArtPad II tablet 2019-03-23 08:44:28 +01:00
touchscreen Input: atmel_mxt_ts - only use first T9 instance 2018-09-19 22:48:58 +02:00
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-leds.c Input: leds - fix out of bound access 2018-05-16 10:06:48 +02:00
input-mt.c
input-polldev.c
input.c
joydev.c
Kconfig
Makefile
matrix-keymap.c
mousedev.c Input: mousedev - fix implicit conversion warning 2018-04-08 11:51:57 +02:00
sparse-keymap.c