summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorYuan Can <yuancan@huawei.com>2024-10-16 12:06:15 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2024-10-16 12:50:21 +0300
commit5f856d71ccdf89b4bac0ff70ebb0bb582e7f7f18 (patch)
treeeaef23b0e14312b66852ed24e7096d3853890d04 /tools/perf/scripts/python/parallel-perf.py
parent41baf662a0c2cfab90d968c122f76aaeda433027 (diff)
downloadlinux-5f856d71ccdf89b4bac0ff70ebb0bb582e7f7f18.tar.xz
cpufreq: loongson2: Unregister platform_driver on failure
When cpufreq_register_driver() returns error, the cpufreq_init() returns without unregister platform_driver, fix by add missing platform_driver_unregister() when cpufreq_register_driver() failed. Fixes: f8ede0f700f5 ("MIPS: Loongson 2F: Add CPU frequency scaling support") Signed-off-by: Yuan Can <yuancan@huawei.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions