drm/amd/display: initialize backlight_ramping_override to false
authorJosip Pavic <Josip.Pavic@amd.com>
Fri, 17 Sep 2021 15:01:47 +0000 (11:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Sep 2021 18:39:40 +0000 (14:39 -0400)
commit467a51b69d0828887fb1b6719159a6b16da688f8
treeba72f658e5596da5823b1db03c324e82d636a08f
parent9f52c25f59b504a29dda42d83ac1e24d2af535d4
drm/amd/display: initialize backlight_ramping_override to false

[Why]
Stack variable params.backlight_ramping_override is uninitialized, so it
contains junk data

[How]
Initialize the variable to false

Reviewed-by: Roman Li <Roman.Li@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Signed-off-by: Josip Pavic <Josip.Pavic@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c