drm/amd/powerplay: drop unnecessary warning prompt
As the check may be done with purpose and the warning output will be confusing. Signed-off-by: Evan Quan <evan.quan@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
f794913ce8
commit
ebcef76b6c
1 changed files with 1 additions and 3 deletions
|
|
@ -280,10 +280,8 @@ static int arcturus_get_workload_type(struct smu_context *smu, enum PP_SMC_POWER
|
|||
return -EINVAL;
|
||||
|
||||
mapping = arcturus_workload_map[profile];
|
||||
if (!(mapping.valid_mapping)) {
|
||||
pr_warn("Unsupported SMU power source: %d\n", profile);
|
||||
if (!(mapping.valid_mapping))
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
return mapping.map_to;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue