wdt: sp805: add watchdog_stop on reboot
PATCH 1/1 wdt: sp805: add watchdog_stop on reboot
From: Zhao Qiang <[email protected]>
Call watchdog_stop_on_reboot in probe func
Signed-off-by Zhao Qiang <[email protected]>
--- drivers/watchdog/sp805_wdt.c | 1 + 1 file changed, 1 insertion(+)
drivers/watchdog/sp805_wdt.c +1 -0
@@ -291,6 +291,7 @@ sp805_wdt_probe(struct amba_device *adev, const struct amba_id *id)set_bit (WDOG_HW_RUNNING , &wdt->wdd.status); } +watchdog_stop_on_reboot (&wdt->wdd); ret =watchdog_register_device (&wdt->wdd);if (ret) goto err;
Signature · 1 line
2.7.4
Quoted 5 lines · Qiang Zhao
From: Zhao Qiang <[email protected]>
Call
watchdog_stop_on_rebootin probe funcSigned-off-by Zhao Qiang <[email protected]>
Reviewed-by Guenter Roeck <[email protected]>
Quoted 19 lines
--- drivers/watchdog/sp805_wdt.c | 1 + 1 file changed, 1 insertion(+)drivers/watchdog/sp805_wdt.c +1
-0@@ -291,6 +291,7 @@ sp805_wdt_probe(struct amba_device *adev, const struct amba_id *id)set_bit (WDOG_HW_RUNNING , &wdt->wdd.status); } +watchdog_stop_on_reboot (&wdt->wdd); ret =watchdog_register_device (&wdt->wdd);if (ret) goto err;Signature · 1 line
2.7.4