Skip to content

Commit 83d1611

Browse files
Ivan Lipskialexdeucher
authored andcommitted
drm/amd/display: Check ATOM_DEVICE_CRT2_SUPPORT in dc_load_detection
[WHY & HOW] Fix the typo of the else-if condition from ATOM_DEVICE_CRT1_SUPPORT to ATOM_DEVICE_CRT2_SUPPORT. Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Ivan Lipski <ivan.lipski@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent f7352d1 commit 83d1611

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/amd/display/dc/bios/bios_parser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ static enum bp_result bios_parser_dac_load_detection(
805805

806806
if (bp_params.device_id == ATOM_DEVICE_CRT1_SUPPORT)
807807
device_id_mask = ATOM_S0_CRT1_MASK;
808-
else if (bp_params.device_id == ATOM_DEVICE_CRT1_SUPPORT)
808+
else if (bp_params.device_id == ATOM_DEVICE_CRT2_SUPPORT)
809809
device_id_mask = ATOM_S0_CRT2_MASK;
810810
else
811811
return BP_RESULT_UNSUPPORTED;

0 commit comments

Comments
 (0)