Skip to content
Commit 1f02f39b authored by Jordan Yates's avatar Jordan Yates Committed by Benjamin Cabé
Browse files

watchdog: cmsdk_apb: reset state before starting



Reset the watchdog back to the initial state before enabling the
expiry interrupt. This prevents the watchdog expiring immediately if
there is a long gap between `wdt_install_timeout` and `wdt_setup`.

Signed-off-by: default avatarJordan Yates <jordan@embeint.com>
parent 8a4fd9bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment