]> Git Repo - J-linux.git/blobdiff - drivers/pci/controller/pci-tegra.c
PCI: loongson: Add more devices that need MRRS quirk
[J-linux.git] / drivers / pci / controller / pci-tegra.c
index 8e323e93be91576b3bb988c57696e37d858c4cbd..929f9363e94bec7120b9f83238d964975fc4fe5f 100644 (file)
@@ -2202,10 +2202,11 @@ static int tegra_pcie_parse_dt(struct tegra_pcie *pcie)
                 * and in this case fall back to using AFI per port register
                 * to toggle PERST# SFIO line.
                 */
-               rp->reset_gpio = devm_gpiod_get_from_of_node(dev, port,
-                                                            "reset-gpios", 0,
-                                                            GPIOD_OUT_LOW,
-                                                            label);
+               rp->reset_gpio = devm_fwnode_gpiod_get(dev,
+                                                      of_fwnode_handle(port),
+                                                      "reset",
+                                                      GPIOD_OUT_LOW,
+                                                      label);
                if (IS_ERR(rp->reset_gpio)) {
                        if (PTR_ERR(rp->reset_gpio) == -ENOENT) {
                                rp->reset_gpio = NULL;
This page took 0.027045 seconds and 4 git commands to generate.