aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2018-05-24 10:32:40 +0000
committerRafael J. Wysocki <[email protected]>2018-05-24 17:08:14 +0000
commit9ad14c001651955ebc390a5bb56858b0ee27ec2d (patch)
tree1f179a0171b24a3c84ab89c388a48fff09877d91 /drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c
parentMerge branch 'opp/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadkernel-9ad14c001651955ebc390a5bb56858b0ee27ec2d.tar.gz
kernel-9ad14c001651955ebc390a5bb56858b0ee27ec2d.zip
PM / Domain: Return 0 on error from of_genpd_opp_to_performance_state()
of_genpd_opp_to_performance_state() should return 0 on errors, as its doc comment describes. While it follows that mostly, it returns a negative error number on one of the failures. Fix that. Fixes: 6e41766a6a50 "PM / Domain: Implement of_genpd_opp_to_performance_state()" Reported-by: Rajendra Nayak <[email protected]> Signed-off-by: Viresh Kumar <[email protected]> Acked-by: Ulf Hansson <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c')
0 files changed, 0 insertions, 0 deletions