]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: sbsa: Set WDOG_HW_RUNNING, when watchdog is already running.
authorPratyush Anand <panand@redhat.com>
Tue, 31 May 2016 06:08:10 +0000 (14:08 +0800)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 17 Jul 2016 18:59:47 +0000 (20:59 +0200)
commit72de98ddae6d2d7393bad548322087e054d2c4fc
tree71980287cd7cdf78192e3444aa3442d7ff2afa30
parent232433f2a0b042ee42dafc11b70036e8c10b86a4
watchdog: sbsa: Set WDOG_HW_RUNNING, when watchdog is already running.

This patch uses the new flag WDOG_HW_RUNNING in driver.
According to the definition of this flag, it should be set,
if watchdog is running after booting, before it's opened.

Signed-off-by: Pratyush Anand <panand@redhat.com>
Signed-off-by: Fu Wei <fu.wei@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/sbsa_gwdt.c