]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: matrix_keypad - make driver useable with GPIO drivers requiring threaded irqs
authorLothar Waßmann <LW@KARO-electronics.de>
Mon, 8 Sep 2014 13:10:31 +0000 (15:10 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 10 Sep 2014 06:42:54 +0000 (08:42 +0200)
commitdc68c0da71273167d5daa55030fdbefea905fea9
treeb000efb348846b189873c3e6ecb2a59ec039bcc9
parentf210c161358ae687f586c1415c0a2044c3ac04b3
Input: matrix_keypad - make driver useable with GPIO drivers requiring threaded irqs

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.
drivers/input/keyboard/matrix_keypad.c