Skip to content
Commit 57a09d84 authored by Dave Stevenson's avatar Dave Stevenson Committed by popcornmix
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 a5bb2d12
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