[PATCH] watchdog: Correct watchdog timeout print message

Simon Glass sjg at chromium.org
Thu Nov 30 03:45:32 CET 2023


On Sun, 26 Nov 2023 at 18:06, Chanho Park <chanho61.park at samsung.com> wrote:
>
> The wdt_start function takes timeout_ms as a parameter and starts the
> watchdog with this value. However, when you output the message, it shows
> the default timeout value for the watchdog device.
> So this patch fixes that part to output the correct timeout value.
>
> Before -->
> StarFive # wdt start 3000
> WDT:   Started watchdog at 13070000 without servicing  (60s timeout)
>
> After -->
> StarFive # wdt start 3000
> WDT:   Started watchdog at 13070000 without servicing  (3s timeout)
>
> Fixes: c2fd0ca1a822 ("watchdog: Integrate watchdog triggering into the cyclic framework")
> Signed-off-by: Chanho Park <chanho61.park at samsung.com>
> ---
>  drivers/watchdog/wdt-uclass.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list