summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm_helper.c
diff options
context:
space:
mode:
authorAndrew Jiang <Andrew.Jiang@amd.com>2017-09-01 16:03:16 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:17:32 -0400
commitaeff7ab11e2516bfa41c77b9ea57bc2c07bb3b62 (patch)
treea16bc903ad8405fbff539face1475cc57fc8583c /drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm_helper.c
parent603767f903bf5bf301728b197dcde63cf880fe2e (diff)
drm/amd/display: Fix context alloc failed logging
Since there was no return statement in the fail block immediately preceding the context_alloc_fail block, any failure within the function caused a context alloc failed error message to be printed. Since the context_alloc_fail block is only used once, move it to where the goto is directly and accompany it with a return statement. Signed-off-by: Andrew Jiang <Andrew.Jiang@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp_cm_helper.c')
0 files changed, 0 insertions, 0 deletions