mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
PCI: rcar: Set root bus nr to that provided in DT
On ARM64, setting the root bus number to -1 causes probe failure. Moreover, we should use the bus number specified in the DT as we could have multiple PCIe controllers with different bus ranges. Signed-off-by: Phil Edworthy <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Simon Horman <[email protected]>
This commit is contained in:
parent
79953dd22c
commit
42175a3553
1 changed files with 1 additions and 1 deletions
|
|
@ -362,7 +362,7 @@ static int rcar_pcie_setup(int nr, struct list_head *resource, struct rcar_pcie
|
|||
struct resource *res;
|
||||
int i;
|
||||
|
||||
pcie->root_bus_nr = -1;
|
||||
pcie->root_bus_nr = pcie->busn.start;
|
||||
|
||||
/* Setup PCI resources */
|
||||
for (i = 0; i < RCAR_PCI_MAX_RESOURCES; i++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue