Commit d86a2f0
committed
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: 2a56c46 ("OPP: Fix required_opp_tables for multiple genpds using same table")
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Viresh Kumar <[email protected]>1 parent 1613e60 commit d86a2f0
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2443 | 2443 | | |
2444 | 2444 | | |
2445 | 2445 | | |
2446 | | - | |
2447 | | - | |
| 2446 | + | |
| 2447 | + | |
| 2448 | + | |
| 2449 | + | |
2448 | 2450 | | |
2449 | 2451 | | |
2450 | 2452 | | |
| |||
0 commit comments