Message ID | 20210512084724.14634-8-shruthi.sanil@intel.com |
---|---|
State | New |
Headers | show |
Series | Intel Keem Bay WDT bug fixes | expand |
diff --git a/drivers/watchdog/keembay_wdt.c b/drivers/watchdog/keembay_wdt.c index dd192b8dff55..10896415f8c7 100644 --- a/drivers/watchdog/keembay_wdt.c +++ b/drivers/watchdog/keembay_wdt.c @@ -260,7 +260,7 @@ static int __maybe_unused keembay_wdt_resume(struct device *dev) { struct keembay_wdt *wdt = dev_get_drvdata(dev); - if (watchdog_active(&wdt->wdd)) + if (!watchdog_active(&wdt->wdd)) return keembay_wdt_start(&wdt->wdd); return 0;