diff options
author | Lukasz Luba <lukasz.luba@arm.com> | 2021-08-03 11:07:44 +0200 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2021-08-04 06:01:57 +0200 |
commit | f7d635883fb73414c7c4e2648b42adc296c5d40d (patch) | |
tree | de511eb27e6a8ab0f96734f5031b6ff4d31d07e9 /drivers/cpufreq/cpufreq-dt-platdev.c | |
parent | cpufreq: blacklist Qualcomm sc8180x in cpufreq-dt-platdev (diff) | |
download | linux-f7d635883fb73414c7c4e2648b42adc296c5d40d.tar.xz linux-f7d635883fb73414c7c4e2648b42adc296c5d40d.zip |
cpufreq: arm_scmi: Fix error path when allocation failed
Stop the initialization when cpumask allocation failed and return an
error.
Fixes: 80a064dbd556 ("scmi-cpufreq: Get opp_shared_cpus from opp-v2 for EM")
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/cpufreq-dt-platdev.c')
0 files changed, 0 insertions, 0 deletions