Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: rcar-du: Skip disabled outputs

When a DT node connected to a DU output is disabled no bridge will ever
be instantiated for it. Skip the output in that case.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

+7
+7
drivers/gpu/drm/rcar-du/rcar_du_kms.c
··· 302 302 return -ENODEV; 303 303 } 304 304 305 + if (!of_device_is_available(entity)) { 306 + dev_dbg(rcdu->dev, 307 + "connected entity %s is disabled, skipping\n", 308 + entity->full_name); 309 + return -ENODEV; 310 + } 311 + 305 312 entity_ep_node = of_parse_phandle(ep->local_node, "remote-endpoint", 0); 306 313 307 314 for_each_endpoint_of_node(entity, ep_node) {