mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
drm/amd/pm: fix error code in smu_set_power_limit()
[ Upstream commitbbdfe5aaef] We should return -EINVAL instead of success if the "limit" is too high. Fixes:e098bc9612("drm/amd/pm: optimize the power related source code layout") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
486642baea
commit
cabed6027a
1 changed files with 1 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue