]> git.baikalelectronics.ru Git - uboot.git/commit
watchdog: ftwdt010: need to reset watchdog in ftwdt010_wdt_start()
authorSergei Antonov <saproj@gmail.com>
Sun, 30 Jul 2023 17:14:16 +0000 (20:14 +0300)
committerStefan Roese <sr@denx.de>
Thu, 10 Aug 2023 06:39:16 +0000 (08:39 +0200)
commit9565ed00ad3da3a942e17a07553c487c3356fff7
treef5d055ffd1edc565ad2b7dab7a1920e592ebb839
parentf27f8c3c677843dcc9c804e5259f08bd44b0504f
watchdog: ftwdt010: need to reset watchdog in ftwdt010_wdt_start()

ftwdt010_wdt_start() has to call ftwdt010_wdt_reset() after setting-up
the timeout in the same fashion ftwdt010_wdt_expire_now() does it.

Without this patch the "wdt start <ms>" command does not actually start
the watchdog timer until the "wdt reset" command is executed.

Signed-off-by: Sergei Antonov <saproj@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/watchdog/ftwdt010_wdt.c