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)
commitc3c1e29c8ad11dec67d01203759272da0d0df3aa
tree71980287cd7cdf78192e3444aa3442d7ff2afa30
parente05e80eb58cc9679d0ff8de5af095a66ba855e10
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