artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7a40e2
)
Instead of skipping the call to hdcp_destroy(), use NULL for the kobject
author
jsg
<jsg@openbsd.org>
Thu, 18 Jan 2024 05:01:52 +0000
(
05:01
+0000)
committer
jsg
<jsg@openbsd.org>
Thu, 18 Jan 2024 05:01:52 +0000
(
05:01
+0000)
argument. Unused in the function itself as we define away
sysfs_remove_bin_file().
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
b/sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index
cee507e
..
9400cd7
100644
(file)
--- a/
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/
sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@
-1907,7
+1907,7
@@
static void amdgpu_dm_fini(struct amdgpu_device *adev)
#ifdef notyet
hdcp_destroy(&adev->dev->kobj, adev->dm.hdcp_workqueue);
#else
-
STUB(
);
+
hdcp_destroy(NULL, adev->dm.hdcp_workqueue
);
#endif
adev->dm.hdcp_workqueue = NULL;
}