arm: tegra: pci: unmap/map memory while pwroff/on
authorJay Agarwal <jagarwal@nvidia.com>
Mon, 16 Jul 2012 11:14:15 +0000 (16:14 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 30 Jul 2012 10:34:23 +0000 (15:34 +0530)
commit655797872b2aaf47064fc4a1b0b1acebb873cfc2
tree3040adf9ff3c3666838087c1789a77457b209008
parent5fcb3a6fe30bca4b0ea652c8bde1a784ec79877c
arm: tegra: pci: unmap/map memory while pwroff/on

Rearranged the code to release all memory and res-
ources whenever poweroff is called and re-allocate
them whenever power on is called.

Bug 963969

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