From 739788143f6d10c107c144ecc015e5f82a0cab05 Mon Sep 17 00:00:00 2001 From: Ritwika Dey Date: Thu, 20 Jul 2023 13:47:10 -0700 Subject: [PATCH] driver: watchdog: wdt_ifx_cat1: masking added Masking is added so that WDT is not invoked multiple times Signed-off-by: Ritwika Dey --- drivers/watchdog/wdt_ifx_cat1.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/wdt_ifx_cat1.c b/drivers/watchdog/wdt_ifx_cat1.c index 3cfe41d4a3d..7c68ee9a297 100644 --- a/drivers/watchdog/wdt_ifx_cat1.c +++ b/drivers/watchdog/wdt_ifx_cat1.c @@ -36,6 +36,7 @@ static void ifx_cat1_wdt_isr_handler(const struct device *dev) if (dev_data->callback) { dev_data->callback(dev, 0); } + Cy_WDT_MaskInterrupt(); } #endif /* IFX_CAT1_WDT_IS_IRQ_EN */