summaryrefslogtreecommitdiffstats
path: root/Documentation/media
diff options
context:
space:
mode:
authorAnson Huang2019-04-04 00:14:44 +0200
committerDmitry Torokhov2019-04-04 01:10:57 +0200
commitbf2a7ca39fd3ab47ef71c621a7ee69d1813b1f97 (patch)
treea8115e33a4c7b44725cf1fc2150d968a828d2b42 /Documentation/media
parentHID: input: add mapping for "Toggle Display" key (diff)
downloadkernel-qcow2-linux-bf2a7ca39fd3ab47ef71c621a7ee69d1813b1f97.tar.gz
kernel-qcow2-linux-bf2a7ca39fd3ab47ef71c621a7ee69d1813b1f97.tar.xz
kernel-qcow2-linux-bf2a7ca39fd3ab47ef71c621a7ee69d1813b1f97.zip
Input: snvs_pwrkey - initialize necessary driver data before enabling IRQ
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>
Diffstat (limited to 'Documentation/media')
0 files changed, 0 insertions, 0 deletions