• Stefan Agner's avatar
    drm/fsl-dcu: handle missing panel gracefully · b7d11305
    Stefan Agner authored
    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>
    b7d11305
fsl_dcu_drm_rgb.c 5.28 KB