summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/visconti_wdt.c
diff options
context:
space:
mode:
authorRobert Marko <robert.marko@sartura.hr>2020-10-31 13:11:15 +0100
committerWim Van Sebroeck <wim@linux-watchdog.org>2020-12-13 16:17:40 +0100
commit8650d0f9e9334f2e1c209f1e2ac8341f91e30d75 (patch)
tree16648a54bd7cc29162a1fe83e2ba22afe9ccc3cf /drivers/watchdog/visconti_wdt.c
parentwatchdog: remove pnx83xx driver (diff)
downloadlinux-8650d0f9e9334f2e1c209f1e2ac8341f91e30d75.tar.xz
linux-8650d0f9e9334f2e1c209f1e2ac8341f91e30d75.zip
watchdog: qcom_wdt: set WDOG_HW_RUNNING bit when appropriate
If the watchdog hardware is enabled/running during boot, e.g. due to a boot loader configuring it, we must tell the watchdog framework about this fact so that it can ping the watchdog until userspace opens the device and takes over control. Do so using the WDOG_HW_RUNNING flag that exists for exactly that use-case. Signed-off-by: Robert Marko <robert.marko@sartura.hr> Cc: Luka Perkov <luka.perkov@sartura.hr> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20201031121115.542752-1-robert.marko@sartura.hr Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog/visconti_wdt.c')
0 files changed, 0 insertions, 0 deletions