Skip to content

Commit d8ddeb1

Browse files
Wesley Chalmersalexdeucher
authored andcommitted
drm/amd/display: Fix incorrect variable name
[WHY] extended_end_address can only be calculated from the extended_address and extended_size Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com> Reviewed-by: Ashley Thomas <Ashley.Thomas2@amd.com> Acked-by: Bindu Ramamurthy <bindu.r@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 0683125 commit d8ddeb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/amd/display/dc/core/dc_link_dpcd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ static void dpcd_reduce_address_range(
152152
const uint32_t reduced_size)
153153
{
154154
const uint32_t reduced_end_address = END_ADDRESS(reduced_address, reduced_size);
155-
const uint32_t extended_end_address = END_ADDRESS(reduced_address, extended_size);
155+
const uint32_t extended_end_address = END_ADDRESS(extended_address, extended_size);
156156
const uint32_t offset = reduced_address - extended_address;
157157

158158
if (extended_end_address == reduced_end_address && extended_address == reduced_address)

0 commit comments

Comments
 (0)