summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/npcx/espi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/chip/npcx/espi.c b/chip/npcx/espi.c
index d092327aed..5dc7e258cf 100644
--- a/chip/npcx/espi.c
+++ b/chip/npcx/espi.c
@@ -233,6 +233,9 @@ static void espi_enable_vw_int(const struct host_wui_item *vwire_int)
/* enable Any Edge */
SET_BIT(NPCX_WKAEDG(table, group), num);
+ /* Clear the pending bit */
+ NPCX_WKPCL(table, group) = BIT(num);
+
/* Enable wake-up input sources */
SET_BIT(NPCX_WKEN(table, group), num);
}