diff options
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/keyboard/omap4-keypad.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/keyboard/omap4-keypad.c b/drivers/input/keyboard/omap4-keypad.c index b876a0d8c6be..0244262e2600 100644 --- a/drivers/input/keyboard/omap4-keypad.c +++ b/drivers/input/keyboard/omap4-keypad.c | |||
@@ -185,8 +185,9 @@ static int omap4_keypad_open(struct input_dev *input) | |||
185 | (OMAP4_VAL_PVT << OMAP4_DEF_CTRL_PTV_SHIFT)); | 185 | (OMAP4_VAL_PVT << OMAP4_DEF_CTRL_PTV_SHIFT)); |
186 | kbd_writel(keypad_data, OMAP4_KBD_DEBOUNCINGTIME, | 186 | kbd_writel(keypad_data, OMAP4_KBD_DEBOUNCINGTIME, |
187 | OMAP4_VAL_DEBOUNCINGTIME); | 187 | OMAP4_VAL_DEBOUNCINGTIME); |
188 | /* clear pending interrupts */ | ||
188 | kbd_write_irqreg(keypad_data, OMAP4_KBD_IRQSTATUS, | 189 | kbd_write_irqreg(keypad_data, OMAP4_KBD_IRQSTATUS, |
189 | OMAP4_VAL_IRQDISABLE); | 190 | kbd_read_irqreg(keypad_data, OMAP4_KBD_IRQSTATUS)); |
190 | kbd_write_irqreg(keypad_data, OMAP4_KBD_IRQENABLE, | 191 | kbd_write_irqreg(keypad_data, OMAP4_KBD_IRQENABLE, |
191 | OMAP4_DEF_IRQENABLE_EVENTEN | | 192 | OMAP4_DEF_IRQENABLE_EVENTEN | |
192 | OMAP4_DEF_IRQENABLE_LONGKEY); | 193 | OMAP4_DEF_IRQENABLE_LONGKEY); |