mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
Merge "drm/msm: Only add available components"
This commit is contained in:
commit
82ff7e3a57
1 changed files with 3 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue