diff options
author | spjoshi@codeaurora.org <spjoshi@codeaurora.org> | 2016-11-15 17:19:25 -0800 |
---|---|---|
committer | Andy Gross <andy.gross@linaro.org> | 2016-11-23 11:03:00 -0600 |
commit | ed19b86e817c5f30d557042f2e8ab68dc93940d4 (patch) | |
tree | 1c95a39fc5b5f2bd65a4b7bce48fc8cbdf158035 /include | |
parent | ab0822d57d8ccde7161aef56b97313fc24162d61 (diff) |
firmware: qcom: scm: Return PTR_ERR when devm_clk_get fails
When devm_clk_get fails for core clock, the failure was ignored
and the core_clk was explicitly set to NULL so that other
remaining clocks can be queried. However, now that we have a
cleaner way of expressing the clock dependency, return failure
when devm_clk_get fails for core clock.
Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions