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