Input: pxa27x_keypad - clear pending interrupts on keypad config
authorVasily Khoruzhick <anarsoul@gmail.com>
Tue, 30 Oct 2012 06:45:09 +0000 (23:45 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 30 Oct 2012 07:10:49 +0000 (00:10 -0700)
commit904adede088f2a6976e417d1d5cf72c9fe686814
tree0d9ad8997d73d8c1e2690966ccd93d182ed64abd
parentb216e12d062d060f2c7b1a49b4b6a6a442cae79c
Input: pxa27x_keypad - clear pending interrupts on keypad config

Bootloader can leave interrupt bit pending, and it confuses driver.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/pxa27x_keypad.c