diff options
author | Bitan Biswas <bbiswas@nvidia.com> | 2012-01-20 00:18:09 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2012-01-30 11:47:08 -0800 |
commit | cbb5a3afaa0b0239e3b81d3531ad5fe3e4488b27 (patch) | |
tree | 7659d803dbcfe10a4806b4ccb1a57de30a147c50 /arch/arm/mach-tegra/pm-t3.c | |
parent | 58858330fc4ed47e11c9214cc4b526bf714ee476 (diff) |
arm: tegra: power: disable all sd dpd
Disabled dpd support for all SD instances - SDMMC0, SDMMC2 and SDMMC3
bug 924452
Reviewed-on: http://git-master/r/76275
Change-Id: Id8967ccb79fc87fcb249c2a2085cd9d68e1ffcb8
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77304
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'arch/arm/mach-tegra/pm-t3.c')
-rw-r--r-- | arch/arm/mach-tegra/pm-t3.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/mach-tegra/pm-t3.c b/arch/arm/mach-tegra/pm-t3.c index 2de6f8770ba8..48f27cf01a0a 100644 --- a/arch/arm/mach-tegra/pm-t3.c +++ b/arch/arm/mach-tegra/pm-t3.c @@ -440,10 +440,7 @@ void tegra_lp0_cpu_mode(bool enter) #define PMC_DPD_SAMPLE 0x20 struct tegra_io_dpd tegra_list_io_dpd[] = { - /* sd dpd bits in dpd2 register */ - IO_DPD_INFO("sdhci-tegra.0", 1, 1), /* SDMMC1 */ - IO_DPD_INFO("sdhci-tegra.2", 1, 2), /* SDMMC3 */ - IO_DPD_INFO("sdhci-tegra.3", 1, 3), /* SDMMC4 */ +/* Empty DPD list - sd dpd entries removed */ }; struct tegra_io_dpd *tegra_io_dpd_get(struct device *dev) @@ -474,7 +471,7 @@ void tegra_io_dpd_enable(struct tegra_io_dpd *hnd) unsigned int dpd_status; unsigned int dpd_enable_lsb; - if (WARN_ON(!hnd)) + if ((!hnd)) return; spin_lock(&tegra_io_dpd_lock); dpd_enable_lsb = (hnd->io_dpd_reg_index) ? APBDEV_DPD2_ENABLE_LSB : @@ -503,7 +500,7 @@ void tegra_io_dpd_disable(struct tegra_io_dpd *hnd) unsigned int dpd_status; unsigned int dpd_enable_lsb; - if (WARN_ON(!hnd)) + if ((!hnd)) return; spin_lock(&tegra_io_dpd_lock); dpd_enable_lsb = (hnd->io_dpd_reg_index) ? APBDEV_DPD2_ENABLE_LSB : |