Commit 42e967f3 authored by Zhao Qiang's avatar Zhao Qiang Committed by Wim Van Sebroeck
Browse files

wdt: sp805: add watchdog_stop on reboot

parent 347755d2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;