drm/rockchip: boot_logo: ignore display route when it's not available

Change-Id: I093b4edeb17c8b1159220618a43f7552070c6001
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
This commit is contained in:
Mark Yao
2016-12-01 14:54:06 +08:00
committed by Huang, Tao
parent fd5e84a4c1
commit 6bfc3254cf

View File

@@ -505,6 +505,9 @@ static void show_loader_logo(struct drm_device *drm_dev)
state->acquire_ctx = mode_config->acquire_ctx;
for_each_child_of_node(root, route) {
if (!of_device_is_available(route))
continue;
set = of_parse_display_resource(drm_dev, route);
if (!set)
continue;