Commit a2257374 authored by Dinghao Liu's avatar Dinghao Liu Committed by Wim Van Sebroeck
Browse files

watchdog: Fix runtime PM imbalance on error

Timeout while sanitizing links - rendering aborted. Please reduce the number of links if possible.

parent 5e31896a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -273,6 +273,7 @@ static int omap_wdt_probe(struct platform_device *pdev)

	ret = watchdog_register_device(&wdev->wdog);
	if (ret) {
		pm_runtime_put(wdev->dev);
		pm_runtime_disable(wdev->dev);
		return ret;
	}