PCI: cadence: Do not error if "cdns,max-outbound-regions" is not found
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 6 Nov 2020 15:11:07 +0000 (20:41 +0530)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 20 Nov 2020 17:23:31 +0000 (17:23 +0000)
commite87d17ca6af5ba4466538de87785cfc8c20af59a
tree7ceef545d9e2c6e8b50b24b1ac37ffc08b5efde4
parent4a2b9125c9851b0f7894b93daeaf4900ec95606f
PCI: cadence: Do not error if "cdns,max-outbound-regions" is not found

Now that "cdns,max-outbound-regions" is made an optional property, do
not error out if "cdns,max-outbound-regions" device tree property is
not found.

Link: http://lore.kernel.org/r/20201105165331.GA55814@bogus
Link: https://lore.kernel.org/r/20201106151107.3987-3-kishon@ti.com
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Rob Herring <robh@kernel.org>
drivers/pci/controller/cadence/pcie-cadence-ep.c
drivers/pci/controller/cadence/pcie-cadence.h