]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: tca8418 - use the interrupt trigger from the device tree
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 17 Jan 2017 21:24:22 +0000 (13:24 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 17 Jan 2017 22:17:39 +0000 (14:17 -0800)
commit259b77ef853cc375a5c9198cf81f9b79fc19413c
tree146624d32370f90139d0db3f9072accd54fe362f
parent13e360ac97e2a6386f9e26e02e20bce4b6e83415
Input: tca8418 - use the interrupt trigger from the device tree

The TCA8418 might be used using different interrupt triggers on various
boards. This is not working so far because the current code forces a
falling edge trigger.

The device tree already provides a trigger type, so let's use whatever it
sets up, and since we can be loaded without DT, keep the old behaviour for
the non-DT case.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/tca8418_keypad.c