commit | f35dd69ba341bda3790713b9e964483934b995e1 | [log] [tgz] |
---|---|---|
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | Tue Aug 21 21:57:15 2012 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Aug 21 22:03:09 2012 -0700 |
tree | 428de3b160d6afbb7f1ca154b1c6f212740bf154 | |
parent | a1d0fa776870aeda5eb91b131d0f1aede6d94ef1 [diff] |
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>