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>
This commit is contained in:
Ulf Hansson
2013-12-16 14:46:00 +01:00
committed by Chris Ball
parent 325e2f96b9
commit 469a00b017
2 changed files with 0 additions and 4 deletions

View File

@@ -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;