iommu/tegra: pci: fix PCIe switch configurations
authorVidya Sagar <vidyas@nvidia.com>
Sun, 20 Nov 2016 11:48:21 +0000 (16:48 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Fri, 5 May 2017 22:02:06 +0000 (15:02 -0700)
commit1ba9dee03bfaf6f9d1ec7d2ae4f602d2796469df
tree6f3aa2b9bf7343c06e8e20ded01497968c0da3df
parentaab1f01673c94d6699c3dc5ecf8b691420fa1a82
iommu/tegra: pci: fix PCIe switch configurations

fixes of_node lookup even if the PCIe device(s) are not
connected directly to root port, rather connected via a
PCIe switch configuratin.

Bug 200253693

Change-Id: I952c1dcc83a3cc6ecccae195c246b2bb1eec7354
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/1256856
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
drivers/iommu/of_tegra-smmu.c