Skip to content
Commit 97ce5b21 authored by Dave Stevenson's avatar Dave Stevenson Committed by Phil Elwell
Browse files

drm/vc4: Add missing NULL check to vc4_crtc_consume_event



vc4_crtc_consume_event wasn't checking crtc->state->event was
set before dereferencing it, leading to an OOPS.

Fixes "a5b534bb drm/vc4: Resolve the vblank warnings on mode switching"

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.org>
parent 5e46fa18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment