ARM: tegra: pcie: Disable ctlr having no device
authorJay Agarwal <jagarwal@nvidia.com>
Tue, 19 Nov 2013 09:49:17 +0000 (14:49 +0530)
committerJay Agarwal <jagarwal@nvidia.com>
Fri, 29 Nov 2013 10:19:27 +0000 (02:19 -0800)
commite30244e54315e7b5cb3d36755ba63d1e2d01fee3
tree45a22934110b97be9db7ff539dc096bf02f54c03
parentbde06b594fa6a62e9f19d58510c95c765d6bcc5d
ARM: tegra: pcie: Disable ctlr having no device

Disable the controller if no device is connected
to its root port.

Bug 1383777

Change-Id: I37e9683c20c9ed37d597a01343efaba6baa5c138
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/332197
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
drivers/pci/host/pci-tegra.c