From: Michael Grzeschik Date: Wed, 22 Aug 2012 04:57:15 +0000 (-0700) Subject: Input: imx_keypad - reset the hardware before enabling X-Git-Tag: v3.6-rc5~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f35dd69ba341bda3790713b9e964483934b995e1;p=pandora-kernel.git 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 Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed