Skip to content
Commit f72fa00f authored by Boris BREZILLON's avatar Boris BREZILLON Committed by Wim Van Sebroeck
Browse files

watchdog: at91sam9_wdt: increase security margin on watchdog counter reset



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: default avatarBoris BREZILLON <b.brezillon@overkiz.com>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent a04c3f01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment