drm/amd/display: Initialize stack variable
authorWesley Chalmers <Wesley.Chalmers@amd.com>
Mon, 14 Dec 2020 20:35:02 +0000 (15:35 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 04:42:51 +0000 (23:42 -0500)
commitf03e80d2e82c7deeb2e62ade9b1a23e40254de50
tree89cefb32f63c13ab667c4aad8816132c0fdcb39b
parent33fd9cb8a267937e0902ade4cdefd8a008c93e65
drm/amd/display: Initialize stack variable

[WHY]
The stack variable "val" is potentially unpopulate it, so initialize it
with the value 0xf (indicating an invalid mux)

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c