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
perf probe: Fix memory leak when synthesizing SDT probes
[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
836319c
..
359302f
100644
(file)
--- a/
drivers/watchdog/rti_wdt.c
+++ b/
drivers/watchdog/rti_wdt.c
@@
-227,8
+227,10
@@
static int rti_wdt_probe(struct platform_device *pdev)
pm_runtime_enable(dev);
ret = pm_runtime_get_sync(dev);
- if (ret)
+ if (ret) {
+ pm_runtime_put_noidle(dev);
return dev_err_probe(dev, ret, "runtime pm failed\n");
+ }
platform_set_drvdata(pdev, wdt);