summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2013-12-16 14:46:00 +0100
committerChris Ball <chris@printf.net>2014-02-14 04:58:37 +0100
commit469a00b017a9b2c630bff962ffd64ba626977830 (patch)
tree5da04f231d5e6d6c4dd693773e4637011d546446 /drivers/mmc
parentmmc: core: Remove unused host cap MMC_CAP2_BROKEN_VOLTAGE (diff)
downloadlinux-469a00b017a9b2c630bff962ffd64ba626977830.tar.xz
linux-469a00b017a9b2c630bff962ffd64ba626977830.zip
mmc: core: Remove support for MMC_CAP2_NO_SLEEP_CMD
There are no active users of this host capability. The primary reason for adding this cap was due to a bug in ux500 boot loader code, which is not a relevant issue any more. So, let's remove it. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/core/mmc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index 20f046895228..5c4ee6ab2125 100644
--- a/drivers/mmc/core/mmc.c
+++ b/drivers/mmc/core/mmc.c
@@ -1358,9 +1358,6 @@ static int mmc_sleep(struct mmc_host *host)
struct mmc_card *card = host->card;
int err;
- if (host->caps2 & MMC_CAP2_NO_SLEEP_CMD)
- return 0;
-
err = mmc_deselect_cards(host);
if (err)
return err;