Re: [PATCH] watchdog: msc313e: Fix premature reset during timeout update
From: Guenter Roeck
Date: Wed Sep 16 2026 - 20:31:49 EST
On Sun, Sep 13, 2026 at 02:51:26PM +0800, Tzung-Bi Shih wrote:
> Updating the 32-bit hardware timeout requires writing to two 16-bit
> registers sequentially. If the watchdog is actively running, this
> non-atomic update might trigger a premature system reset.
>
> Clear the watchdog counter before updating the registers to prevent the
> timer from timing out prematurely against an intermediate threshold.
>
> Fixes: e9800b799464 ("watchdog: Add Mstar MSC313e WDT driver")
> Signed-off-by: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>
Applied.
Thanks,
Guenter