diff options
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/omap_hsmmc.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 7a9ca4f22405..283265154944 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c | |||
@@ -1214,20 +1214,8 @@ static int omap_mmc_suspend(struct platform_device *pdev, pm_message_t state) | |||
1214 | " level suspend\n"); | 1214 | " level suspend\n"); |
1215 | } | 1215 | } |
1216 | 1216 | ||
1217 | if (host->id == OMAP_MMC1_DEVID | 1217 | OMAP_HSMMC_WRITE(host->base, HCTL, |
1218 | && !(OMAP_HSMMC_READ(host->base, HCTL) | 1218 | OMAP_HSMMC_READ(host->base, HCTL) & ~SDBP); |
1219 | & SDVSDET)) { | ||
1220 | OMAP_HSMMC_WRITE(host->base, HCTL, | ||
1221 | OMAP_HSMMC_READ(host->base, HCTL) | ||
1222 | & SDVSCLR); | ||
1223 | OMAP_HSMMC_WRITE(host->base, HCTL, | ||
1224 | OMAP_HSMMC_READ(host->base, HCTL) | ||
1225 | | SDVS30); | ||
1226 | OMAP_HSMMC_WRITE(host->base, HCTL, | ||
1227 | OMAP_HSMMC_READ(host->base, HCTL) | ||
1228 | | SDBP); | ||
1229 | } | ||
1230 | |||
1231 | clk_disable(host->fclk); | 1219 | clk_disable(host->fclk); |
1232 | clk_disable(host->iclk); | 1220 | clk_disable(host->iclk); |
1233 | clk_disable(host->dbclk); | 1221 | clk_disable(host->dbclk); |