projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a44f862
)
drm/amd/pp: Fix incorrect return value in smu7_check_clk_voltage_valid
author
Rex Zhu
<Rex.Zhu@amd.com>
Fri, 2 Mar 2018 10:41:41 +0000
(18:41 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Mon, 5 Mar 2018 20:37:46 +0000
(15:37 -0500)
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
b/drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
index
731475b
..
cb9e2f9
100644
(file)
--- a/
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
+++ b/
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
@@
-4770,7
+4770,7
@@
static bool smu7_check_clk_voltage_valid(struct pp_hwmgr *hwmgr,
struct phm_ppt_v1_clock_voltage_dependency_table *dep_sclk_table;
if (table_info == NULL)
- return
-EINVAL
;
+ return
false
;
dep_sclk_table = table_info->vdd_dep_on_sclk;
min_vddc = dep_sclk_table->entries[0].vddc;