watchdog: at91sam9_wdt: increase security margin on watchdog counter reset
authorBoris BREZILLON <b.brezillon@overkiz.com>
Sun, 3 Nov 2013 17:52:44 +0000 (18:52 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 28 Jan 2014 20:34:55 +0000 (21:34 +0100)
Try to reset the watchdog counter 4 or 2 times more often than actually
requested, to avoid spurious watchdog reset.
If this is not possible because of the min_heartbeat value, reset it at
the min_heartbeat period.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>

No differences found