Home
last modified time | relevance | path

Searched hist:"24 e4d21c" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/input/keyboard/
H A Dmatrix_keypad.c24e4d21c Tue Sep 09 16:41:16 CDT 2014 Lothar Waßmann <LW@KARO-electronics.de> 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>
24e4d21c Tue Sep 09 16:41:16 CDT 2014 Lothar Waßmann <LW@KARO-electronics.de> 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>