diff options
author | 2022-12-22 16:43:37 +0800 | |
---|---|---|
committer | 2023-01-17 15:40:44 -0500 | |
commit | 9190d4a263264eabf715f5fc1827da45e3fdc247 (patch) | |
tree | a70010df1f87378ae059062ac779e7a65b2a319c /lib/pm-notifier-error-inject.c | |
parent | drm/amd/display: Skip backlight control delay on external powered links (diff) | |
download | linux-rng-9190d4a263264eabf715f5fc1827da45e3fdc247.tar.xz linux-rng-9190d4a263264eabf715f5fc1827da45e3fdc247.zip |
drm/amd/display: fix mapping to non-allocated address
[Why]
There is an issue mapping non-allocated location of memory.
It would allocate gpio registers from an array out of bounds.
[How]
Patch correct numbers of bounds for using.
Tested-by: Daniel Wheeler <Daniel.Wheeler@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Brandon Syu <Brandon.Syu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions