提交 16a6620c 编写于 作者: R Rex Zhu 提交者: Alex Deucher

drm/amd/pp: Fix incorrect return value in smu7_check_clk_voltage_valid

Reviewed-by: NEvan Quan <evan.quan@amd.com>
Signed-off-by: NRex Zhu <Rex.Zhu@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 a44f8626
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册