Input: omap-keypad - clear interrupts on open
authorIllia Smyrnov <illia.smyrnov@ti.com>
Mon, 26 Aug 2013 06:26:16 +0000 (23:26 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 26 Aug 2013 07:15:53 +0000 (00:15 -0700)
commitafbac60b0c535189a76855a04d85492cf2d992e1
tree615b655355846c58299f0db39efe5740b875b955
parentc683da3ec985bcf0e69890f372cffaba47a1a537
Input: omap-keypad - clear interrupts on open

According to TRM, the recommended way for keyboard controller
initialization is clear the interrupt-status register, then set up
certain keyboard events for generating an interrupt request and
set up expected source of wake-up event that generates a wake-up
request.

Signed-off-by: Illia Smyrnov <illia.smyrnov@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/omap4-keypad.c