Skip to content
Commit 2c1e504d authored by Dave Stevenson's avatar Dave Stevenson Committed by popcornmix
Browse files

drm/vc4: Ensure zpos is always initialised



The compiler is warning that default_zpos can be used
uninitialised as there is no default case to catch all plane
types.
No other plane types should ever be presented to vc4_fkms_plane_init,
but add a default case regardless.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.org>
parent 0213412a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment