diff options
author | Tero Kristo <t-kristo@ti.com> | 2020-03-12 10:58:06 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2020-03-18 11:15:25 +0100 |
commit | 982bb70517aef2225bad1d802887b733db492cc0 (patch) | |
tree | 6d79733f7f210ec155d117ce200b45498d633dd1 /drivers/irqchip/irq-stm32-exti.c | |
parent | watchdog: imx2_wdt: Drop .remove callback (diff) | |
download | linux-982bb70517aef2225bad1d802887b733db492cc0.tar.xz linux-982bb70517aef2225bad1d802887b733db492cc0.zip |
watchdog: reset last_hw_keepalive time at start
Currently the watchdog core does not initialize the last_hw_keepalive
time during watchdog startup. This will cause the watchdog to be pinged
immediately if enough time has passed from the system boot-up time, and
some types of watchdogs like K3 RTI does not like this.
To avoid the issue, setup the last_hw_keepalive time during watchdog
startup.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20200302200426.6492-3-t-kristo@ti.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions