mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user