diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2020-12-10 01:20:08 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-03-10 16:11:23 -0500 |
commit | dfd8b7fbd985ec1cf76fe10f2875a50b10833740 (patch) | |
tree | 954f958f8f3da1d1db6127c2738c1ddc660a9c4b /drivers/gpu | |
parent | a2f8d988698d7d3645b045f4940415b045140b81 (diff) | |
download | linux-stable-dfd8b7fbd985ec1cf76fe10f2875a50b10833740.tar.gz linux-stable-dfd8b7fbd985ec1cf76fe10f2875a50b10833740.tar.bz2 linux-stable-dfd8b7fbd985ec1cf76fe10f2875a50b10833740.zip |
drm/amdgpu/display: don't assert in set backlight function
It just spams the logs.
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc_link.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c index fa5059f71727..bd0101013ec8 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c @@ -2602,7 +2602,6 @@ bool dc_link_set_backlight_level(const struct dc_link *link, if (pipe_ctx->plane_state == NULL) frame_ramp = 0; } else { - ASSERT(false); return false; } |