diff options
author | 2018-05-28 08:45:46 +0200 | |
---|---|---|
committer | 2018-06-06 10:45:32 +0200 | |
commit | be9e9c2ad52baea131a5395b15f52ae4f86bfbe3 (patch) | |
tree | 1f7fa3197550589914fd62e133c0a1af16dbfac6 /net/batman-adv/bat_v.h | |
parent | watchdog: da9063: Fix updating timeout value (diff) | |
download | linux-be9e9c2ad52baea131a5395b15f52ae4f86bfbe3.tar.gz linux-be9e9c2ad52baea131a5395b15f52ae4f86bfbe3.tar.bz2 linux-be9e9c2ad52baea131a5395b15f52ae4f86bfbe3.zip |
watchdog: da9063: Fix timeout handling during probe
The watchdog can be enabled in previous steps (e.g. the bootloader). Set
the driver default timeout value (8s) if the watchdog is already running
and the HW_RUNNING flag. So the watchdog core framework will ping the
watchdog till the user space activates the watchdog explicit with the
desired timeout value.
Fixes: 5e9c16e37608 ("watchdog: Add DA9063 PMIC watchdog driver.")
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'net/batman-adv/bat_v.h')
0 files changed, 0 insertions, 0 deletions