commit | 1f02f39b9e677f738dd84b04233ad3d915f5c595 | [log] [tgz] |
---|---|---|
author | Jordan Yates <jordan@embeint.com> | Wed Nov 13 13:45:44 2024 +1000 |
committer | Benjamin Cabé <kartben@gmail.com> | Sat Mar 15 13:07:05 2025 +0100 |
tree | e9bd6c3acb0429b720d53f2c5d1db607104e42f3 | |
parent | 8a4fd9bb1fad0481207490e90ebe95f6d685ed9b [diff] |
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: Jordan Yates <jordan@embeint.com>