diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2018-05-28 09:45:46 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2018-06-06 11:45:32 +0300 |
commit | be9e9c2ad52baea131a5395b15f52ae4f86bfbe3 (patch) | |
tree | 1f7fa3197550589914fd62e133c0a1af16dbfac6 /lib/parman.c | |
parent | 44ee54aabfdb3b35866ed909bde3ab01e9679385 (diff) | |
download | linux-be9e9c2ad52baea131a5395b15f52ae4f86bfbe3.tar.xz |
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 'lib/parman.c')
0 files changed, 0 insertions, 0 deletions