Skip to content
Commit d86a2f08 authored by Viresh Kumar's avatar Viresh Kumar
Browse files

OPP: Fix missing cleanup on error in _opp_attach_genpd()



A recent commit updated the code mistakenly to return directly on
errors, without doing the required cleanups. Fix it.

Fixes: 2a56c462 ("OPP: Fix required_opp_tables for multiple genpds using same table")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Reported-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202405180016.4fbn86bm-lkp@intel.com/


Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 1613e604
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment