aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChander Kashyap <[email protected]>2014-05-16 10:51:17 +0000
committerRafael J. Wysocki <[email protected]>2014-05-19 21:02:36 +0000
commit086abb58590a4df73e8a6ed71fd418826937cd46 (patch)
treec388704c9302c58a0b0e144cbb3ac11c5056f5fd /tools/perf/scripts/python
parentLinux 3.15-rc5 (diff)
downloadkernel-086abb58590a4df73e8a6ed71fd418826937cd46.tar.gz
kernel-086abb58590a4df73e8a6ed71fd418826937cd46.zip
PM / OPP: fix incorrect OPP count handling in of_init_opp_table
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 <[email protected]> Signed-off-by: Inderpal Singh <[email protected]> Acked-by: Viresh Kumar <[email protected]> Cc: 3.7+ <[email protected]> # 3.7+ Acked-by: Nishanth Menon <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions