watchdog: orion_wdt: Mark watchdog as active when running at probe
authorMaxim Kochetkov <fido_max@inbox.ru>
Thu, 7 Jun 2018 13:54:37 +0000 (16:54 +0300)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Thu, 2 Aug 2018 13:57:09 +0000 (15:57 +0200)
commit2421cfd55a80af3272c261a28864cc5c3c67155c
tree488092f7fb1e5dd9e126379e0a35d46d91cd656c
parentc2cf466cca87e2072bd6616f751f4c385c2ab71e
watchdog: orion_wdt: Mark watchdog as active when running at probe

If the watchdog is fully enabled and running at probe,
mark it as such so the watchdog core can handle it until
the watchdog device is opened.

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
[groeck: Updated subject and description]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/orion_wdt.c