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

Commit 82ff7e3a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm: Only add available components"

parents 3f354326 9455b48f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -1839,8 +1839,9 @@ static int add_components_mdp(struct device *mdp_dev,
		if (!intf)
			continue;

		drm_of_component_match_add(master_dev, matchptr, compare_of,
					   intf);
		if (of_device_is_available(intf))
			drm_of_component_match_add(master_dev, matchptr,
						   compare_of, intf);
		of_node_put(intf);
	}