arm: tegra: pcie: Fix suspend/resume code
authorJay Agarwal <jagarwal@nvidia.com>
Wed, 20 Jun 2012 08:00:39 +0000 (13:00 +0530)
committerSimone Willett <swillett@nvidia.com>
Mon, 25 Jun 2012 23:45:23 +0000 (16:45 -0700)
commit2e5fb506472adfaf0b9d7a801b77f4e707140dfb
tree9a4a05dae4e0ccf362e1fc17db74feac4f8294ee
parentb8c4bf16077a04daf2c895be7cf8da030e45b60e
arm: tegra: pcie: Fix suspend/resume code

1. Do add port and rescan in resume
2. Assert pcie xclk on power on
3. Remove all bus and devices in suspend
4. Enable msi once after resume also
5. Remove Most of hacks for save and restore
   config spaces

Bug 959642
Bug 956573

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