Commit 24ffb8c9 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

Merge branch 'pci/controller/tegra194'

- Return success from endpoint probe before incorrectly dropping the
  reference to the BPMP (Vidya Sagar)

* pci/controller/tegra194:
  PCI: tegra194: Fix probe path for Endpoint mode
parents f4036f64 19326006
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2274,11 +2274,14 @@ static int tegra_pcie_dw_probe(struct platform_device *pdev)
		ret = tegra_pcie_config_ep(pcie, pdev);
		if (ret < 0)
			goto fail;
		else
			return 0;
		break;

	default:
		dev_err(dev, "Invalid PCIe device type %d\n",
			pcie->of_data->mode);
		ret = -EINVAL;
	}

fail: