Input: qt2160 - switch to using threaded interrupt handler
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 24 Jul 2023 05:13:40 +0000 (22:13 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 29 Jul 2023 01:02:44 +0000 (18:02 -0700)
commitf1fbff609a1439df4afedde7663148bffa9d67ea
treed2e69abe08be48a50bb7c7493983bd65f35f1090
parentf94c3bce7491228733b765e60189aa325b866ff0
Input: qt2160 - switch to using threaded interrupt handler

Instead of using combination of normal IRQ and work item which required
careful handling on device teardown, use standard threaded interrupt that
allows communication wityh the chip over slow (I2C) bus directly in the
interrupt handler.

To support polling mode switch to standard polling support implemented by
the input core.

Link: https://lore.kernel.org/r/20230724051345.335219-2-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/qt2160.c