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:
parent
6fe83ea810
commit
3c44d380e4
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue