]> git.baikalelectronics.ru Git - kernel.git/commit
Input: adp5588-keys - switch to using threaded interrupt
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 31 May 2022 21:05:22 +0000 (14:05 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 31 May 2022 21:09:40 +0000 (14:09 -0700)
commitfa5e5f3fe5b8843f946db832068bf8b8c05797f2
tree7857c723fb195a34d5aa4984c6ad6d94efb5b795
parent5b4d0c03c37a530e9c4695467c6e98d03fe5482a
Input: adp5588-keys - switch to using threaded interrupt

Instead of using hard interrupt handler and manually scheduling work
item to handle I2C communications, let's switch to threaded interrupt
handling.

While at that enforce the readout delay required on pre- revision 4
silicon.

Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Link: https://lore.kernel.org/r/20220528045631.289821-2-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/adp5588-keys.c