aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2011-11-03 22:05:31 -0700
committerColin Cross <ccross@android.com>2011-11-03 22:05:31 -0700
commit90672f17369273aba3fb402d5c41752686c65d53 (patch)
treea7d23ad74772dd01384ca6cbe58ef406c7315aa1 /drivers/mmc
parentba54fe4bd1753c72fec97ca2a96f0cae46b2748b (diff)
parent63efe447c4a007ac27c7fe98e492d8ad03326c39 (diff)
downloadkernel_samsung_tuna-90672f17369273aba3fb402d5c41752686c65d53.zip
kernel_samsung_tuna-90672f17369273aba3fb402d5c41752686c65d53.tar.gz
kernel_samsung_tuna-90672f17369273aba3fb402d5c41752686c65d53.tar.bz2
Merge branch 'linux-omap-3.0' into android-omap-3.0
Conflicts: drivers/mmc/host/omap_hsmmc.c Change-Id: I37eac90b9007a8a96fa25788126e2bf2b49255aa
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/omap_hsmmc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index b7ed408..c89c45c 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -2347,8 +2347,7 @@ static int omap_hsmmc_suspend(struct device *dev)
cancel_work_sync(&host->mmc_carddetect_work);
if (mmc_slot(host).mmc_data.built_in)
host->mmc->pm_flags |= MMC_PM_KEEP_POWER;
- if (host->mmc->card && (host->mmc->card->type != MMC_TYPE_SDIO))
- ret = mmc_suspend_host(host->mmc);
+ ret = mmc_suspend_host(host->mmc);
mmc_host_enable(host->mmc);
if (ret == 0) {
omap_hsmmc_disable_irq(host);
@@ -2410,8 +2409,7 @@ static int omap_hsmmc_resume(struct device *dev)
omap_hsmmc_protect_card(host);
/* Notify the core to resume the host */
- if (host->mmc->card && (host->mmc->card->type != MMC_TYPE_SDIO))
- ret = mmc_resume_host(host->mmc);
+ ret = mmc_resume_host(host->mmc);
if (ret == 0)
host->suspended = 0;