From 3c44d380e4d31e8c2533afb1c2779094b8370c63 Mon Sep 17 00:00:00 2001 From: Pawel Czarnecki Date: Mon, 9 Jan 2023 15:08:08 +0100 Subject: [PATCH] drivers: watchdog: gecko: enable watchdog clock This clock signal needs to be enabled after it was selected. Signed-off-by: Pawel Czarnecki --- drivers/watchdog/wdt_gecko.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/watchdog/wdt_gecko.c b/drivers/watchdog/wdt_gecko.c index 4199d8d29e..ef124e41ec 100644 --- a/drivers/watchdog/wdt_gecko.c +++ b/drivers/watchdog/wdt_gecko.c @@ -259,6 +259,8 @@ static int wdt_gecko_init(const struct device *dev) #if defined(_SILICON_LABS_32B_SERIES_2) CMU_ClockSelectSet(config->clock, cmuSelect_ULFRCO); + /* Enable Watchdog clock. */ + CMU_ClockEnable(cmuClock_WDOG0, true); #endif /* Enable IRQs */