diff options
author | Teppei Kamijou <teppei.kamijou.yb@renesas.com> | 2012-12-12 15:38:05 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-02-11 12:51:24 -0500 |
commit | 92ff0c5bc4000d6b2b1bfc8cd40bd1397a03c8ec (patch) | |
tree | 46608fdf106b3e68905209bc00d88316e3cf1957 /drivers/mmc | |
parent | fbe5fdd12c4cdae61a8c3d371e564371177da86e (diff) | |
download | blackbird-op-linux-92ff0c5bc4000d6b2b1bfc8cd40bd1397a03c8ec.tar.gz blackbird-op-linux-92ff0c5bc4000d6b2b1bfc8cd40bd1397a03c8ec.zip |
mmc: sh_mmcif: force to fail CMD52 immediately
mmc_rescan() sends CMD52 (SD_IO_RW_DIRECT) to reset SDIO card during
card detection. CMD52 should be ignored by SD/eMMC cards, but we can
also abort it in the driver immediately, since MMCIF doesn't support
SDIO cards anyway.
Signed-off-by: Teppei Kamijou <teppei.kamijou.yb@renesas.com>
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sh_mmcif.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c index 741aeb95c7a4..8b4e98e2b130 100644 --- a/drivers/mmc/host/sh_mmcif.c +++ b/drivers/mmc/host/sh_mmcif.c @@ -911,6 +911,7 @@ static void sh_mmcif_request(struct mmc_host *mmc, struct mmc_request *mrq) if ((mrq->cmd->flags & MMC_CMD_MASK) != MMC_CMD_BCR) break; case MMC_APP_CMD: + case SD_IO_RW_DIRECT: host->state = STATE_IDLE; mrq->cmd->error = -ETIMEDOUT; mmc_request_done(mmc, mrq); |