projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PM / domains: Fix 'may be used uninitialized' build warning
[linux-2.6-block.git]
/
drivers
/
base
/
power
/
domain.c
diff --git
a/drivers/base/power/domain.c
b/drivers/base/power/domain.c
index a5e1262b964b8f987480152cb5feb0dbc9d81e47..2997026b4dfb00c1daec88f1f18264656a61ffb0 100644
(file)
--- a/
drivers/base/power/domain.c
+++ b/
drivers/base/power/domain.c
@@
-626,6
+626,7
@@
static int genpd_runtime_resume(struct device *dev)
out:
/* Measure resume latency. */
+ time_start = 0;
if (timed && runtime_pm)
time_start = ktime_get();