From: Alex Deucher Date: Thu, 10 Dec 2020 06:20:08 +0000 (-0500) Subject: drm/amdgpu/display: don't assert in set backlight function X-Git-Tag: v5.15~1144^2~19^2~294 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10ba4d0c35d8820f354a42d0336537c01d0ae25c;p=platform%2Fkernel%2Flinux-starfive.git drm/amdgpu/display: don't assert in set backlight function It just spams the logs. Reviewed-by: Nicholas Kazlauskas Signed-off-by: Alex Deucher --- 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 fa9a62d..974b70f 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c @@ -2614,7 +2614,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; }