diff options
Diffstat (limited to 'chip/npcx/gpio.c')
-rw-r--r-- | chip/npcx/gpio.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chip/npcx/gpio.c b/chip/npcx/gpio.c index 1a05074c44..fc5fad8b36 100644 --- a/chip/npcx/gpio.c +++ b/chip/npcx/gpio.c @@ -769,6 +769,9 @@ static void gpio_interrupt(int int_no) /* Get pending mask */ wui_mask = NPCX_WKPND(i, j); + /* Get enabled mask */ + wui_mask &= NPCX_WKEN(i, j); + /* If pending bits is not zero */ if (!wui_mask) continue; |