summaryrefslogtreecommitdiffstats
path: root/lib/cpu_rmap.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2018-09-13 09:39:27 +0200
committerViresh Kumar <viresh.kumar@linaro.org>2018-09-19 23:56:40 +0200
commit404b1369ea26f598b96ae4d3183262a879703cfe (patch)
treedf57c469958d52b0a6f1b45da07c16443f812492 /lib/cpu_rmap.c
parentOPP: Free OPP table properly on performance state irregularities (diff)
downloadlinux-404b1369ea26f598b96ae4d3183262a879703cfe.tar.xz
linux-404b1369ea26f598b96ae4d3183262a879703cfe.zip
OPP: Don't try to remove all OPP tables on failure
dev_pm_opp_of_cpumask_add_table() creates the OPP table for all CPUs present in the cpumask and on errors it should revert all changes it has done. It actually is doing a bit more than that. On errors, it tries to free all the OPP tables, even the one it hasn't created yet. This may also end up freeing the OPP tables which were created from separate path, like dev_pm_opp_set_supported_hw(). Reported-and-tested-by: Niklas Cassel <niklas.cassel@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'lib/cpu_rmap.c')
0 files changed, 0 insertions, 0 deletions