]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix dmub_psr_destroy()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 28 Feb 2020 10:58:33 +0000 (13:58 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Mar 2020 05:27:06 +0000 (00:27 -0500)
commit4ba8d2d64f555e7062448ef76273c1316e5ba938
tree7eeb199ec986456ffc44260ef619be2504f42a29
parent05affbf1cb7dc5904ae7f03b3b744696ef9977a1
drm/amd/display: Fix dmub_psr_destroy()

This is freeing the wrong variable so it will crash.  It should be
freeing "*dmub" instead of "dmub".

Fixes: 8a94f0cb4996 ("drm/amd/display: Driverside changes to support PSR in DMCUB")
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dmub_psr.c