diff options
author | Seungwon Jeon <tgih.jun@samsung.com> | 2014-04-23 17:07:35 +0900 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-05-12 18:05:53 -0400 |
commit | cdc991790c51c693d0c347a5286af017826a5d01 (patch) | |
tree | 6a40a17c97298372886e1c41a5b892974743a680 /drivers/mmc/core/core.c | |
parent | b78871d0cf13d37e7bdcf39c49782ca3885343bc (diff) | |
download | op-kernel-dev-cdc991790c51c693d0c347a5286af017826a5d01.zip op-kernel-dev-cdc991790c51c693d0c347a5286af017826a5d01.tar.gz |
mmc: drop the speed mode of card's state
Timing mode identifier has same role and can take the place
of speed mode. This change removes all related speed mode.
Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc/core/core.c')
-rw-r--r-- | drivers/mmc/core/core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index d97dff5..02baa30 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -2192,7 +2192,7 @@ int mmc_set_blocklen(struct mmc_card *card, unsigned int blocklen) { struct mmc_command cmd = {0}; - if (mmc_card_blockaddr(card) || mmc_card_ddr_mode(card)) + if (mmc_card_blockaddr(card) || mmc_card_ddr52(card)) return 0; cmd.opcode = MMC_SET_BLOCKLEN; @@ -2272,7 +2272,6 @@ static int mmc_do_hw_reset(struct mmc_host *host, int check) } } - host->card->state &= ~(MMC_STATE_HIGHSPEED | MMC_STATE_HIGHSPEED_DDR); if (mmc_host_is_spi(host)) { host->ios.chip_select = MMC_CS_HIGH; host->ios.bus_mode = MMC_BUSMODE_PUSHPULL; |