arm: tegra: pcie: Add hotplug functionality
authorJay Agarwal <jagarwal@nvidia.com>
Fri, 22 Jun 2012 10:06:34 +0000 (15:06 +0530)
committerSimone Willett <swillett@nvidia.com>
Mon, 25 Jun 2012 23:45:37 +0000 (16:45 -0700)
commit5d811e3f6beb17bc273e480d1631fbe622fe3c79
tree9eda2c0d63554b5c596ba0915dbf9bb18a4798d5
parentbaf58babc3f4729b57f6d70b23475031076d3d03
arm: tegra: pcie: Add hotplug functionality

1. do power off on suspend and power on while
   resume and other initialization.
2. call same functionality as suspend/resume
   for disconnect/connect of hotplug also.

Bug 946385

Change-Id: Ic6906a8641f418cc3e5ee86beaf6fb3f71081174
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/110343
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
arch/arm/mach-tegra/pcie.c