mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-27 22:51:31 +00:00
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>
This commit is contained in:
parent
068312559d
commit
d8ddeb155c
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ static void dpcd_reduce_address_range(
|
|||
const uint32_t reduced_size)
|
||||
{
|
||||
const uint32_t reduced_end_address = END_ADDRESS(reduced_address, reduced_size);
|
||||
const uint32_t extended_end_address = END_ADDRESS(reduced_address, extended_size);
|
||||
const uint32_t extended_end_address = END_ADDRESS(extended_address, extended_size);
|
||||
const uint32_t offset = reduced_address - extended_address;
|
||||
|
||||
if (extended_end_address == reduced_end_address && extended_address == reduced_address)
|
||||
|
|
Loading…
Reference in a new issue