diff options
author | Nirmoy Das <nirmoy.das@amd.com> | 2021-02-10 18:11:04 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-02-18 16:43:08 -0500 |
commit | e96b1b2974989c6a25507b527843ede7594efc85 (patch) | |
tree | bc86add70b6a83bee3265a1adea4e0608432bec0 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | |
parent | 4112c00354004cbb1bf56f0114fa9951bf6b13ed (diff) | |
download | linux-e96b1b2974989c6a25507b527843ede7594efc85.tar.gz linux-e96b1b2974989c6a25507b527843ede7594efc85.tar.bz2 linux-e96b1b2974989c6a25507b527843ede7594efc85.zip |
drm/amdgpu/display: remove hdcp_srm sysfs on device removal
Fixes: 9037246bb2da5 ("drm/amd/display: Add sysfs interface for set/get srm")
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c index 8a44b6ba8595..94cd5ddd67ef 100644 --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c @@ -1128,7 +1128,7 @@ static void amdgpu_dm_fini(struct amdgpu_device *adev) #ifdef CONFIG_DRM_AMD_DC_HDCP if (adev->dm.hdcp_workqueue) { - hdcp_destroy(adev->dm.hdcp_workqueue); + hdcp_destroy(&adev->dev->kobj, adev->dm.hdcp_workqueue); adev->dm.hdcp_workqueue = NULL; } |