drm/amd/display: fix missing cleanup for remove s3_debug in dm_early_fini()
Subsystems (3)
PATCH 1/1 drm/amd/display: fix missing cleanup for remove s3_debug in dm_early_fini()
Signed-off-by Kevin Wang <[email protected]>
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +6 -0
@@ -1436,6 +1436,12 @@ static int amdgpu_dm_early_fini(void *handle)amdgpu_dm_audio_fini (adev); +#if defined(CONFIG_DEBUG_KERNEL_DC ) +device_create_file ( +adev_to_drm (adev)->dev, + &dev_attr_s3_debug); +#endif +return 0 ; }
Signature · 1 line
2.25.1