Skip to content
Snippets Groups Projects
Commit 7d0ed304 authored by Dan Carpenter's avatar Dan Carpenter Committed by Sean Paul
Browse files

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: 1452c25b ("drm: Add helpers to kick off self refresh mode in drivers")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190619100141.GA28596@mwanda
parent 90b86fcc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment