diff options
| author | [email protected] <[email protected]> | 2016-11-16 01:19:25 +0000 |
|---|---|---|
| committer | Andy Gross <[email protected]> | 2016-11-23 17:03:00 +0000 |
| commit | ed19b86e817c5f30d557042f2e8ab68dc93940d4 (patch) | |
| tree | 1c95a39fc5b5f2bd65a4b7bce48fc8cbdf158035 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | firmware: qcom: scm: Remove core, iface and bus clocks dependency (diff) | |
| download | kernel-ed19b86e817c5f30d557042f2e8ab68dc93940d4.tar.gz kernel-ed19b86e817c5f30d557042f2e8ab68dc93940d4.zip | |
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 <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Acked-by: Bjorn Andersson <[email protected]>
Signed-off-by: Andy Gross <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
