mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
Merge branch 'pci/controller/dwc-nxp-s32g'
* pci/controller/dwc-nxp-s32g: PCI: s32g: Skip Root Port removal during success
This commit is contained in:
commit
d375df113c
|
|
@ -282,12 +282,12 @@ static int s32g_pcie_parse_ports(struct device *dev, struct s32g_pcie *s32g_pp)
|
|||
|
||||
ret = s32g_pcie_parse_port(s32g_pp, of_port);
|
||||
if (ret)
|
||||
goto err_port;
|
||||
break;
|
||||
}
|
||||
|
||||
err_port:
|
||||
list_for_each_entry_safe(port, tmp, &s32g_pp->ports, list)
|
||||
list_del(&port->list);
|
||||
if (ret)
|
||||
list_for_each_entry_safe(port, tmp, &s32g_pp->ports, list)
|
||||
list_del(&port->list);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user