diff options
author | Stefan Agner | 2015-12-02 18:03:50 -0800 |
---|---|---|
committer | Stefan Agner | 2016-04-25 20:45:32 -0700 |
commit | b7d11305b89a0d3d13d6087505daed94dde08574 (patch) | |
tree | e022eb8e9e6d9aa147a607f83846f663507bf7ce /drivers/pps | |
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>
Diffstat (limited to 'drivers/pps')
0 files changed, 0 insertions, 0 deletions