Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3479c4f authored by Teresa Remmet's avatar Teresa Remmet Committed by Jyri Sarha
Browse files

drm/tilcdc: Fix check for remote port parent



In function tilcdc_get_external_components the check for
the remote port parent is not correct. We need a '||' instead of
an '&&'.

Signed-off-by: default avatarTeresa Remmet <t.remmet@phytec.de>
Signed-off-by: default avatarJyri Sarha <jsarha@ti.com>
parent 2b2fd56d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -154,7 +154,7 @@ int tilcdc_get_external_components(struct device *dev,

	while ((ep = of_graph_get_next_endpoint(dev->of_node, ep))) {
		node = of_graph_get_remote_port_parent(ep);
		if (!node && !of_device_is_available(node)) {
		if (!node || !of_device_is_available(node)) {
			of_node_put(node);
			continue;
		}