Commit 50a7f05
PM / OPP: Propagate error properly from dev_pm_opp_set_sharing_cpus()
We are returning 0 even in case of errors, fix it.
Cc: 4.3 <[email protected]> # 4.3
Fixes: 8d4d4e9 ("PM / OPP: Add helpers for initializing CPU OPPs")
Reported-by: Dan Carpenter <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>1 parent abac5a3 commit 50a7f05
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
0 commit comments