diff options
author | Marco Felsch | 2019-11-20 17:54:59 +0100 |
---|---|---|
committer | Philipp Zabel | 2020-07-20 15:16:05 +0200 |
commit | 853fe4fc757246a2da6258f1dd249e71a1bd14fd (patch) | |
tree | 2da68fef1f46aac1ef452458535b04627c980651 /drivers/gpu/drm/imx/imx-ldb.c | |
parent | 8e91cbb820981a8a51be55499f860b1968308960 (diff) |
drm/imx: parallel-display: move panel/bridge detection to fail early
We do some string parsing and string comparison in front of
drm_of_find_panel_or_bridge(). All this work is useless if the call
fails. Move drm_of_find_panel_or_bridge() infront of the parsing work to
fail early.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/imx/imx-ldb.c')
0 files changed, 0 insertions, 0 deletions