Skip to content
Commit b7d11305 authored by Stefan Agner's avatar Stefan Agner
Browse files

drm/fsl-dcu: handle missing panel gracefully



If the device tree property fsl,panel is missing, drm_panel_attach
is called with a NULL pointer as first argument. Having a panel is
basically mandatory since RGB is the only supported connector.
Check if a panel node has been found, return -ENODEV and cleanup
otherwise.

Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
parent a109f66f
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