Re: [PATCH 1/2] watchdog: dw_wdt: pat the watchdog before enabling it

From: Guenter Roeck
Date: Thu Jan 22 2015 - 00:32:06 EST


On 01/21/2015 09:22 PM, Jisheng Zhang wrote:
Dear Doug,

On Wed, 21 Jan 2015 15:17:22 -0800
Doug Anderson <dianders@xxxxxxxxxxxx> wrote:

On some dw_wdt implementations the "top" register may be initted to 0
at bootup. In such a case, each "pat" of the watchdog will reset the
timer to 0xffff. That's pretty short.

+ Guenter Roeck

This should have been fixed by dfa07141e7a792("watchdog: dw_wdt: initialise
TOP_INIT in dw_wdt_set_top()")

Ah, yes. Doug, can you check if your patch is still needed ?

Thanks,
Guenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/