MLK-20184 input: focaltech_touch: use disable_irq_nosync() in spin lock context
authorHaibo Chen <haibo.chen@nxp.com>
Fri, 2 Nov 2018 10:22:44 +0000 (18:22 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitde0b25ac8811e4088a67b383b9569a2ed64a701f
tree498edd74f277c40ea2f7405585ce908c5f1e7fbc
parent73a4348bbf336c418c933184162499d0cea29333
MLK-20184 input: focaltech_touch: use disable_irq_nosync() in spin lock context

according to the function disable_irq() description, use disable_irq() in
spin lock context may cause deadlock. So change to use disable_irq_nosync().

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
drivers/input/touchscreen/focaltech_touch/focaltech_core.c