| @@ -1826,10 +1826,14 @@ static void check_graph_port(struct check *c, struct dt_info *dti, · 1825 unmodified lines |
| 1826 | if (node->bus != &graph_port_bus) | 1826 | if (node->bus != &graph_port_bus) |
| 1827 | return; | 1827 | return; |
| 1828 | | 1828 | |
| | 1829 | check_graph_reg(c, dti, node); |
| | 1830 | |
| | 1831 | /* skip checks below for overlays */ |
| | 1832 | if (dti->dtsflags & DTSF_PLUGIN) |
| | 1833 | return; |
| | 1834 | |
| 1829 | if (!strprefixeq(node->name, node->basenamelen, "port")) | 1835 | if (!strprefixeq(node->name, node->basenamelen, "port")) |
| 1830 | FAIL(c, dti, node, "graph port node name should be 'port'"); | 1836 | FAIL(c, dti, node, "graph port node name should be 'port'"); |
| 1831 | | | |
| 1832 | check_graph_reg(c, dti, node); | | |
| 1833 | } | 1837 | } |
| 1834 | WARNING(graph_port, check_graph_port, NULL, &graph_nodes); | 1838 | WARNING(graph_port, check_graph_port, NULL, &graph_nodes); |
| 1835 | | 1839 | |
| @@ -1864,11 +1868,15 @@ static void check_graph_endpoint(struct check *c, struct dt_info *dti, · 28 unmodified lines |
| 1864 | if (!node->parent || node->parent->bus != &graph_port_bus) | 1868 | if (!node->parent || node->parent->bus != &graph_port_bus) |
| 1865 | return; | 1869 | return; |
| 1866 | | 1870 | |
| | 1871 | check_graph_reg(c, dti, node); |
| | 1872 | |
| | 1873 | /* skip checks below for overlays */ |
| | 1874 | if (dti->dtsflags & DTSF_PLUGIN) |
| | 1875 | return; |
| | 1876 | |
| 1867 | if (!strprefixeq(node->name, node->basenamelen, "endpoint")) | 1877 | if (!strprefixeq(node->name, node->basenamelen, "endpoint")) |
| 1868 | FAIL(c, dti, node, "graph endpoint node name should be 'endpoint'"); | 1878 | FAIL(c, dti, node, "graph endpoint node name should be 'endpoint'"); |
| 1869 | | 1879 | |
| 1870 | check_graph_reg(c, dti, node); | | |
| 1871 | | | |
| 1872 | remote_node = get_remote_endpoint(c, dti, node); | 1880 | remote_node = get_remote_endpoint(c, dti, node); |
| 1873 | if (!remote_node) | 1881 | if (!remote_node) |
| 1874 | return; | 1882 | return; |