On Sun, 26 Nov 2023 at 18:06, Chanho Park <chanho61.p...@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@13070000 without servicing  (60s timeout)
>
> After -->
> StarFive # wdt start 3000
> WDT:   Started watchdog@13070000 without servicing  (3s timeout)
>
> Fixes: c2fd0ca1a822 ("watchdog: Integrate watchdog triggering into the cyclic 
> framework")
> Signed-off-by: Chanho Park <chanho61.p...@samsung.com>
> ---
>  drivers/watchdog/wdt-uclass.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Simon Glass <s...@chromium.org>

Reply via email to