diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2012-08-22 08:57:15 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-08-22 09:03:09 +0400 |
commit | f35dd69ba341bda3790713b9e964483934b995e1 (patch) | |
tree | 428de3b160d6afbb7f1ca154b1c6f212740bf154 /drivers/input/serio | |
parent | a1d0fa776870aeda5eb91b131d0f1aede6d94ef1 (diff) | |
download | linux-f35dd69ba341bda3790713b9e964483934b995e1.tar.xz |
Input: imx_keypad - reset the hardware before enabling
Ensure the hardware is correctly initialized before requesting the
interrupt, otherwise if a key was already touched since power-on the
kernel enters an interrupt loop. To fix this issue we clear pending
interrupt sources. We also have to make sure clk is enabled while
changing the keypad registers.
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/serio')
0 files changed, 0 insertions, 0 deletions