|
@@ -3314,6 +3314,8 @@ static int __init its_of_probe(struct device_node *node)
|
|
|
|
|
|
for (np = of_find_matching_node(node, its_device_id); np;
|
|
for (np = of_find_matching_node(node, its_device_id); np;
|
|
np = of_find_matching_node(np, its_device_id)) {
|
|
np = of_find_matching_node(np, its_device_id)) {
|
|
|
|
+ if (!of_device_is_available(np))
|
|
|
|
+ continue;
|
|
if (!of_property_read_bool(np, "msi-controller")) {
|
|
if (!of_property_read_bool(np, "msi-controller")) {
|
|
pr_warn("%pOF: no msi-controller property, ITS ignored\n",
|
|
pr_warn("%pOF: no msi-controller property, ITS ignored\n",
|
|
np);
|
|
np);
|