Commit ae76fd3
firmware: qcom_scm: Always return devm_clk_get_optional errors
If devm_clk_get_optional throws an error, something is really wrong.
It may be a probe deferral, or it may be a problem with the clock
provider.
Regardless of what it may be, it should definitely not be ignored.
Stop doing that.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230623-topic-scm_cleanup-v2-2-9db8c583138d@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>1 parent 5130464 commit ae76fd3
1 file changed
Lines changed: 6 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1419 | 1419 | | |
1420 | 1420 | | |
1421 | 1421 | | |
1422 | | - | |
1423 | | - | |
1424 | | - | |
1425 | | - | |
| 1422 | + | |
| 1423 | + | |
1426 | 1424 | | |
1427 | 1425 | | |
1428 | | - | |
1429 | | - | |
1430 | | - | |
1431 | | - | |
| 1426 | + | |
| 1427 | + | |
1432 | 1428 | | |
1433 | 1429 | | |
1434 | | - | |
1435 | | - | |
1436 | | - | |
1437 | | - | |
| 1430 | + | |
| 1431 | + | |
1438 | 1432 | | |
1439 | 1433 | | |
1440 | 1434 | | |
| |||
0 commit comments