commit | b7d11305b89a0d3d13d6087505daed94dde08574 | [log] [tgz] |
---|---|---|
author | Stefan Agner <stefan@agner.ch> | Wed Dec 02 18:03:50 2015 -0800 |
committer | Stefan Agner <stefan@agner.ch> | Mon Apr 25 20:45:32 2016 -0700 |
tree | e022eb8e9e6d9aa147a607f83846f663507bf7ce | |
parent | a109f66f4be771eba8df241f22da58323273c635 [diff] |
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: Stefan Agner <stefan@agner.ch>