aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2025-03-07 08:36:53 +0000
committerThomas Zimmermann <[email protected]>2025-03-10 09:54:24 +0000
commit914ee6e730e134410b77edc453b629767e84c32c (patch)
tree5636c1f78750fee229e5221b577cdaa3cc681b98 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentMerge tag 'drm-misc-next-2025-03-06' of https://gitlab.freedesktop.org/drm/mi... (diff)
downloadkernel-914ee6e730e134410b77edc453b629767e84c32c.tar.gz
kernel-914ee6e730e134410b77edc453b629767e84c32c.zip
drm/appletbdrm: Fix ref-counting on dmadev
Remove the put_device() call on dmadev. The driver sets the field without getting a reference, so it shouldn't put a reference either. The dmadev field points to the regular USB device for which DRM maintains a reference internally. Hence dmadev will not become dangling during the DRM device's lifetime. Signed-off-by: Thomas Zimmermann <[email protected]> Fixes: 0670c2f56e45 ("drm/tiny: add driver for Apple Touch Bars in x86 Macs") Cc: Aditya Garg <[email protected]> Cc: Aun-Ali Zaidi <[email protected]> Cc: [email protected] Acked-by: Aditya Garg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions