diff options
author | Varun Wadekar <vwadekar@nvidia.com> | 2012-02-01 15:38:29 +0530 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-02-03 05:31:50 -0800 |
commit | db4040a616535967a1ff704a1e3e99e956ac5b21 (patch) | |
tree | 35d82e76fc59e6531231ba8f3f697fbaca00d02d /drivers/mmc | |
parent | b2bde547df967073a61d1bd4ffdf9ef5a1c7fbeb (diff) |
mmc: host: tegra: remove redundant code from tegra_sdhci_suspend
tegra_sdhci_suspend() had code to disable the same regulators
twice. Remove one instance of the code to avoid warnings
during system suspend.
Change-Id: I71789b40a6d5e5c500c57b8323b9f4bc79634886
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/78682
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci-tegra.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index a0b5e4394514..570e7e26a581 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -556,10 +556,6 @@ static int tegra_sdhci_suspend(struct sdhci_host *sdhci, pm_message_t state) tegra_sdhci_set_clock(sdhci, 0); /* Disable the power rails if any */ - if (tegra_host->vdd_slot_reg) - regulator_disable(tegra_host->vdd_slot_reg); - if (tegra_host->vdd_io_reg) - regulator_disable(tegra_host->vdd_io_reg); if (tegra_host->card_present) { if (tegra_host->is_rail_enabled) { if (tegra_host->vdd_io_reg) |