summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/watchdog_core.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-02-28 13:12:16 -0800
committerWim Van Sebroeck <wim@iguana.be>2016-03-16 21:11:15 +0100
commitee142889e32f564f9b5e57b68b06693ec5473074 (patch)
tree69afe4a8324087bbd96636048f9b306d5a84eb28 /drivers/watchdog/watchdog_core.c
parent664a39236e718f9f03fa73fc01006da9ced04efc (diff)
downloadop-kernel-dev-ee142889e32f564f9b5e57b68b06693ec5473074.zip
op-kernel-dev-ee142889e32f564f9b5e57b68b06693ec5473074.tar.gz
watchdog: Introduce WDOG_HW_RUNNING flag
The WDOG_HW_RUNNING flag is expected to be set by watchdog drivers if the hardware watchdog is running. If the flag is set, the watchdog subsystem will ping the watchdog even if the watchdog device is closed. The watchdog driver stop function is now optional and may be omitted if the watchdog can not be stopped. If stopping the watchdog is not possible but the driver implements a stop function, it is responsible to set the WDOG_HW_RUNNING flag in its stop function. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/watchdog_core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud