summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/npcx/system.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/chip/npcx/system.c b/chip/npcx/system.c
index f9d4d1f584..ec0847cb34 100644
--- a/chip/npcx/system.c
+++ b/chip/npcx/system.c
@@ -336,8 +336,11 @@ void system_set_gpios_and_wakeup_inputs_hibernate(void)
}
/* Enable wake-up inputs of hibernate_wake_pins array */
- for (i = 0; i < hibernate_wake_pins_used; i++)
+ for (i = 0; i < hibernate_wake_pins_used; i++) {
gpio_reset(hibernate_wake_pins[i]);
+ /* Re-enable interrupt for wake-up inputs */
+ gpio_enable_interrupt(hibernate_wake_pins[i]);
+ }
}
/**