We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abd1c6a commit cd004d8Copy full SHA for cd004d8
drivers/watchdog/omap_wdt.c
@@ -268,8 +268,12 @@ static int omap_wdt_probe(struct platform_device *pdev)
268
wdev->wdog.bootstatus = WDIOF_CARDRESET;
269
}
270
271
- if (!early_enable)
+ if (early_enable) {
272
+ omap_wdt_start(&wdev->wdog);
273
+ set_bit(WDOG_HW_RUNNING, &wdev->wdog.status);
274
+ } else {
275
omap_wdt_disable(wdev);
276
+ }
277
278
ret = watchdog_register_device(&wdev->wdog);
279
if (ret) {
0 commit comments