aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2020-12-16 01:19:46 +0000
committerLaurent Pinchart <[email protected]>2021-01-05 05:20:13 +0000
commit9fa120458da142da0d1d3eaf6f6a3a2c2c91d27b (patch)
treee6f20d1e67d83517a94c83040a4c2fe5d7485e71 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm: rcar-du: Fix the return check of of_parse_phandle and of_find_device_by_... (diff)
downloadkernel-9fa120458da142da0d1d3eaf6f6a3a2c2c91d27b.tar.gz
kernel-9fa120458da142da0d1d3eaf6f6a3a2c2c91d27b.zip
drm: rcar-du: Fix leak of CMM platform device reference
The device references acquired by of_find_device_by_node() are not released by the driver. Fix this by registering a cleanup action. Fixes: 8de707aeb452 ("drm: rcar-du: kms: Initialize CMM instances") Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Jacopo Mondi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions