]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: rcar: Set root bus nr to that provided in DT
authorPhil Edworthy <phil.edworthy@renesas.com>
Fri, 2 Oct 2015 10:25:06 +0000 (11:25 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 30 Oct 2015 13:23:15 +0000 (08:23 -0500)
commit42175a35534aab13016297fb48763e9f1126a0ab
tree0ff3c4c35ea4c33116e2b7cc9fa9fb55f7d5eace
parent79953dd22c1dfe38196485b53987466b048b8cc2
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 <phil.edworthy@renesas.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pci/host/pcie-rcar.c