drm/amd/display: remove incorrect early return
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Wed, 5 Apr 2023 20:17:42 +0000 (16:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Apr 2023 20:28:53 +0000 (16:28 -0400)
[Why&How]
Remove incorrect early return in a device specific fifo reset workaround

Reviewed-by: Leo Li <sunpeng.li@amd.com>
Reviewed-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c

index 330ab03..c6ce2b7 100644 (file)
@@ -687,7 +687,6 @@ static void apply_synaptics_fifo_reset_wa(struct drm_dp_aux *aux)
                return;
 
        data[0] |= (1 << 1); // set bit 1 to 1
-               return;
 
        if (!execute_synaptics_rc_command(aux, false, 0x31, 4, 0x221198, data))
                return;