Commit dfa71e9f authored by Simon Glass's avatar Simon Glass Committed by Joe Hershberger
Browse files

tegra: Report errors from PCI init

This function can fail, so be sure to report any errors that occur.
Signed-off-by: Simon Glass's avatarSimon Glass <>
Reviewed-by: Joe Hershberger's avatarJoe Hershberger <>
parent 6968ec92
......@@ -465,7 +465,11 @@ static int tegra_pcie_parse_dt(const void *fdt, int node, enum tegra_pci_id id,
return err;
err = tegra_pcie_board_init();
if (err < 0) {
error("tegra_pcie_board_init() failed: err=%d", err);
return err;
pcie->phy = tegra_xusb_phy_get(TEGRA_XUSB_PADCTL_PCIE);
if (pcie->phy) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment