Input: matrix_keypad - use request_any_context_irq()
authorLothar Waßmann <LW@KARO-electronics.de>
Tue, 9 Sep 2014 21:41:16 +0000 (14:41 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 9 Sep 2014 23:52:19 +0000 (16:52 -0700)
commit24e4d21c4252fb6d5a7e75d1e1ee47c2ce38ae99
tree1b281a5b28beb56accab974dc81ed334f86d71d9
parent651b4608811796ee6ddea5ce33e8db7ef6ea42b1
Input: matrix_keypad - use request_any_context_irq()

When trying to use the matrix-keypad driver with GPIO drivers that
require nested irq handlers (e.g. I2C GPIO adapters like PCA9554),
request_irq() fails because the GPIO driver requires a threaded
interrupt handler.

Use request_any_context_irq() to be able to use any GPIO driver as
keypad driver.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/matrix_keypad.c