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)
commit160984ed3a91a4225b27ffe8bfc3b1b4dc08a4ea
treef5d055ffd1edc565ad2b7dab7a1920e592ebb839
parent8ba4eae01da11e73e7ee9f7047979f4d2ebfe5fc
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