watchdog: tangox: Mark running watchdog correctly
authorGuenter Roeck <linux@roeck-us.net>
Fri, 27 May 2016 22:28:00 +0000 (15:28 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Sun, 17 Jul 2016 19:00:26 +0000 (21:00 +0200)
commita3e376d26ace6d823f7aa4c63476e7089a6196df
tree79187abf082392fae8ff6112d1d8e51e96575ebc
parentf9f535c1b76128f94dae7a4bb41464aacd4c10ec
watchdog: tangox: Mark running watchdog correctly

A running watchdog is marked with WDOG_HW_RUNNING, not with WDOG_ACTIVE.
WDOG_ACTIVE indicates that the watchdog device has been opened from user
space.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/tangox_wdt.c