diff options
| author | Dan Carpenter <[email protected]> | 2025-03-07 09:30:58 +0000 |
|---|---|---|
| committer | Alyssa Rosenzweig <[email protected]> | 2025-03-14 13:42:11 +0000 |
| commit | ee20c69c789b6cb2179a535cf440d72b98f4a134 (patch) | |
| tree | 680b045170bf1c2076bffcf1063f3b37cbfe6300 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
| parent | drm/appletbdrm: Fix ref-counting on dmadev (diff) | |
| download | kernel-ee20c69c789b6cb2179a535cf440d72b98f4a134.tar.gz kernel-ee20c69c789b6cb2179a535cf440d72b98f4a134.zip | |
drm: adp: Fix NULL vs IS_ERR() check in adp_plane_new()
The __drmm_universal_plane_alloc() function doesn't return NULL, it
returns error pointers. Update the check to match.
Fixes: 332122eba628 ("drm: adp: Add Apple Display Pipe driver")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Sasha Finkelstein <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions
