Skip to content

Commit

Permalink
drm/amdgpu/display: don't assert in set backlight function
Browse files Browse the repository at this point in the history
commit dfd8b7f upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
alexdeucher authored and gregkh committed Mar 17, 2021
1 parent dcddebb commit 7c39e08
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/amd/display/dc/core/dc_link.c
Expand Up @@ -2571,7 +2571,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;
}

Expand Down

0 comments on commit 7c39e08

Please sign in to comment.