diff options
| author | Dan Carpenter <[email protected]> | 2019-06-19 10:01:41 +0000 |
|---|---|---|
| committer | Sean Paul <[email protected]> | 2019-06-19 13:57:16 +0000 |
| commit | 7d0ed30433aa88c94411b6c078a7985a6e7c889f (patch) | |
| tree | 90487aeac169fee23868ebb781fe00733d646440 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
| parent | DRM: Add KMS driver for the Ingenic JZ47xx SoCs (diff) | |
| download | kernel-7d0ed30433aa88c94411b6c078a7985a6e7c889f.tar.gz kernel-7d0ed30433aa88c94411b6c078a7985a6e7c889f.zip | |
drm: self_refresh: Fix a reversed condition in drm_self_refresh_helper_cleanup()
This test is flipped around so it either leads to a memory leak or a
NULL dereference.
Fixes: 1452c25b0e60 ("drm: Add helpers to kick off self refresh mode in drivers")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Sean Paul <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20190619100141.GA28596@mwanda
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions
