drivers: watchdog: gecko: enable watchdog clock

This clock signal needs to be enabled after it was selected.

Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
This commit is contained in:
Pawel Czarnecki 2023-01-09 15:08:08 +01:00 committed by Fabio Baltieri
parent 6fe83ea810
commit 3c44d380e4

View file

@ -259,6 +259,8 @@ static int wdt_gecko_init(const struct device *dev)
#if defined(_SILICON_LABS_32B_SERIES_2) #if defined(_SILICON_LABS_32B_SERIES_2)
CMU_ClockSelectSet(config->clock, cmuSelect_ULFRCO); CMU_ClockSelectSet(config->clock, cmuSelect_ULFRCO);
/* Enable Watchdog clock. */
CMU_ClockEnable(cmuClock_WDOG0, true);
#endif #endif
/* Enable IRQs */ /* Enable IRQs */