diff options
-rw-r--r-- | drivers/input/keyboard/omap4-keypad.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/input/keyboard/omap4-keypad.c b/drivers/input/keyboard/omap4-keypad.c index 07e792e960f1..45bd0977d006 100644 --- a/drivers/input/keyboard/omap4-keypad.c +++ b/drivers/input/keyboard/omap4-keypad.c | |||
@@ -54,6 +54,8 @@ | |||
54 | #define OMAP4_DEF_IRQENABLE_EVENTEN (1 << 0) | 54 | #define OMAP4_DEF_IRQENABLE_EVENTEN (1 << 0) |
55 | #define OMAP4_DEF_IRQENABLE_LONGKEY (1 << 1) | 55 | #define OMAP4_DEF_IRQENABLE_LONGKEY (1 << 1) |
56 | #define OMAP4_DEF_IRQENABLE_TIMEOUTEN (1 << 2) | 56 | #define OMAP4_DEF_IRQENABLE_TIMEOUTEN (1 << 2) |
57 | #define OMAP4_DEF_WUP_EVENT_ENA (1 << 0) | ||
58 | #define OMAP4_DEF_WUP_LONG_KEY_ENA (1 << 1) | ||
57 | #define OMAP4_DEF_CTRL_NOSOFTMODE (1 << 1) | 59 | #define OMAP4_DEF_CTRL_NOSOFTMODE (1 << 1) |
58 | #define OMAP4_DEF_CTRLPTVVALUE (1 << 2) | 60 | #define OMAP4_DEF_CTRLPTVVALUE (1 << 2) |
59 | #define OMAP4_DEF_CTRLPTV (1 << 1) | 61 | #define OMAP4_DEF_CTRLPTV (1 << 1) |
@@ -88,6 +90,8 @@ static void __devinit omap4_keypad_config(struct omap4_keypad *keypad_data) | |||
88 | keypad_data->base + OMAP4_KBD_IRQSTATUS); | 90 | keypad_data->base + OMAP4_KBD_IRQSTATUS); |
89 | __raw_writel(OMAP4_DEF_IRQENABLE_EVENTEN | OMAP4_DEF_IRQENABLE_LONGKEY, | 91 | __raw_writel(OMAP4_DEF_IRQENABLE_EVENTEN | OMAP4_DEF_IRQENABLE_LONGKEY, |
90 | keypad_data->base + OMAP4_KBD_IRQENABLE); | 92 | keypad_data->base + OMAP4_KBD_IRQENABLE); |
93 | __raw_writel(OMAP4_DEF_WUP_EVENT_ENA | OMAP4_DEF_WUP_LONG_KEY_ENA, | ||
94 | keypad_data->base + OMAP4_KBD_WAKEUPENABLE); | ||
91 | } | 95 | } |
92 | 96 | ||
93 | /* Interrupt handler */ | 97 | /* Interrupt handler */ |