git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6d211d
)
PM / OPP: fix incorrect OPP count handling in of_init_opp_table
author
Chander Kashyap
<chander.kashyap@linaro.org>
Fri, 16 May 2014 10:51:17 +0000
(16:21 +0530)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Mon, 19 May 2014 21:02:36 +0000
(23:02 +0200)
In of_init_opp_table function, if a failure to add an OPP is
detected, the count of OPPs, yet to be added is not updated.
Fix this by decrementing this count on failure as well.
Signed-off-by: Chander Kashyap <k.chander@samsung.com>
Signed-off-by: Inderpal Singh <inderpal.s@samsung.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: 3.7+ <stable@vger.kernel.org> # 3.7+
Acked-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp.c
patch
|
blob
|
history
diff --cc
drivers/base/power/opp.c
Simple merge