diff options
author | Christophe Roullier <christophe.roullier@st.com> | 2019-11-22 14:22:46 +0100 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2020-01-27 15:55:44 +0100 |
commit | 85fdc63fe256b595f923a69848cd99972ff446d8 (patch) | |
tree | cc3b3f83622e2e47fc60d8e327cffe4a73e921b3 /fs | |
parent | bb44aa09e53960c0230a645144fe566e094a2a02 (diff) | |
download | linux-85fdc63fe256b595f923a69848cd99972ff446d8.tar.bz2 |
drivers: watchdog: stm32_iwdg: set WDOG_HW_RUNNING at probe
If the watchdog hardware is already enabled during the boot process,
when the Linux watchdog driver loads, it should start/reset the watchdog
and tell the watchdog framework. As a result, ping can be generated from
the watchdog framework (if CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED is set),
until the userspace watchdog daemon takes over control
Fixes:4332d113c66a ("watchdog: Add STM32 IWDG driver")
Signed-off-by: Christophe Roullier <christophe.roullier@st.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20191122132246.8473-1-christophe.roullier@st.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions