android_kernel_samsung_a7y1.../drivers/input
Anson Huang 5d757239bc 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: d3dc6e232215 ("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>
2020-04-06 16:42:41 +02:00
..
gameport A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
joystick A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
keyboard Input: snvs_pwrkey - initialize necessary driver data before enabling IRQ 2020-04-06 16:42:41 +02:00
misc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mouse A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
serio A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tablet A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
touchscreen A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wacom A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
apm-power.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
evbug.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
evdev.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ff-core.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ff-memless.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
input-compat.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
input-compat.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
input-leds.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
input-mt.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
input-polldev.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
input.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
joydev.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
keycombo.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
keyreset.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
matrix-keymap.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mousedev.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sec_cmd.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sec_tclm_v2.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sec_tclm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sparse-keymap.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30