drm/amd/display: fix gamma logic breaking driver unload
authorKrunoslav Kovac <Krunoslav.Kovac@amd.com>
Mon, 27 May 2019 14:57:24 +0000 (10:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Jun 2019 17:50:12 +0000 (12:50 -0500)
commit0d44494af174c316422c4d4897f8bcf654b44505
tree8662b3b0ad62e8016496c25f1294e504e3ed6a75
parentabe882a39a9c8c7b95839451088268fcbf2b14fa
drm/amd/display: fix gamma logic breaking driver unload

Using this logic breaks driver unload, this is a temporary fix
a followup patch will properly fix this

Signed-off-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/color/color_gamma.c