Input: move to use request_irq by IRQF_NO_AUTOEN flag
authorBarry Song <song.bao.hua@hisilicon.com>
Thu, 25 Mar 2021 21:43:18 +0000 (14:43 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 25 Mar 2021 22:27:56 +0000 (15:27 -0700)
commitbcd9730a04a1f18d873adb3907f2b4830b88ee9a
treeb51a913a06a95f872090b3aa7a2b54e6e1439b30
parent73cdf82a3dcdc4f50081041ec07e6c47e44692c0
Input: move to use request_irq by IRQF_NO_AUTOEN flag

disable_irq() after request_irq() still has a time gap in which
interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will
disable IRQ auto-enable because of requesting.

On the other hand, request_irq() after setting IRQ_NOAUTOEN as
below
irq_set_status_flags(irq, IRQ_NOAUTOEN);
request_irq(dev, irq...);
can also be replaced by request_irq() with IRQF_NO_AUTOEN flag.

Signed-off-by: Barry Song <song.bao.hua@hisilicon.com>
Link: https://lore.kernel.org/r/20210302224916.13980-3-song.bao.hua@hisilicon.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/tca6416-keypad.c
drivers/input/keyboard/tegra-kbc.c
drivers/input/touchscreen/ar1021_i2c.c
drivers/input/touchscreen/atmel_mxt_ts.c
drivers/input/touchscreen/bu21029_ts.c
drivers/input/touchscreen/cyttsp_core.c
drivers/input/touchscreen/melfas_mip4.c
drivers/input/touchscreen/mms114.c
drivers/input/touchscreen/stmfts.c
drivers/input/touchscreen/wm831x-ts.c
drivers/input/touchscreen/zinitix.c