Files
linux/drivers
Dan Carpenter cabed6027a drm/amd/pm: fix error code in smu_set_power_limit()
[ Upstream commit bbdfe5aaef ]

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>
2021-05-14 09:50:39 +02:00
..
2021-05-14 09:50:24 +02:00
2021-05-14 09:50:21 +02:00
2021-05-14 09:50:38 +02:00
2021-03-04 11:38:21 +01:00
2021-04-10 13:36:08 +02:00
2021-05-11 14:47:26 +02:00
2021-05-14 09:50:38 +02:00
2021-03-04 11:38:03 +01:00
2021-04-16 11:43:22 +02:00