drm/rockchip: drv: Ignore no exist remote endpoint in rockchip_drm_of_find_possible_crtcs()

Change-Id: Iceea01c906fb2c269524c1c4d898db222d1d0844
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
This commit is contained in:
Wyon Bi
2023-04-11 02:19:00 +00:00
committed by Tao Huang
parent c91c1a5fdc
commit f4501b9bc7

View File

@@ -222,7 +222,7 @@ uint32_t rockchip_drm_of_find_possible_crtcs(struct drm_device *dev,
remote_port = of_graph_get_remote_port(ep);
if (!remote_port) {
of_node_put(ep);
return 0;
continue;
}
possible_crtcs |= drm_of_crtc_port_mask(dev, remote_port);