projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
watchdog: rti-wdt: balance pm runtime enable calls
[linux-2.6-microblaze.git]
/
drivers
/
watchdog
/
rti_wdt.c
diff --git
a/drivers/watchdog/rti_wdt.c
b/drivers/watchdog/rti_wdt.c
index
7cbdc17
..
705e8f7
100644
(file)
--- a/
drivers/watchdog/rti_wdt.c
+++ b/
drivers/watchdog/rti_wdt.c
@@
-303,6
+303,7
@@
static int rti_wdt_probe(struct platform_device *pdev)
err_iomap:
pm_runtime_put_sync(&pdev->dev);
+ pm_runtime_disable(&pdev->dev);
return ret;
}
@@
-313,6
+314,7
@@
static int rti_wdt_remove(struct platform_device *pdev)
watchdog_unregister_device(&wdt->wdd);
pm_runtime_put(&pdev->dev);
+ pm_runtime_disable(&pdev->dev);
return 0;
}