summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorVenkat Gopalakrishnan <venkatg@codeaurora.org>2015-01-09 15:09:11 -0800
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:26:02 -0700
commit34e4cf13f729da24d0ff25393acea1f5fdb5e375 (patch)
treee5c0a3480a1132c7595b156b0dfc28736a1090d9 /drivers
parentfe333f447f6ab9f94898f6182e055ae0e72fe740 (diff)
mmc: core: Update HS400 timing mode before performing tuning
There is no need to prepare anything additional before tuning for HS400 other than updating the HS400 timing mode, so just do that. Change-Id: Ib7a72a4bb9b901e32413acf440c925c4cd50a73d Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org> [subhashj@codeaurora.org: fixed trivial merge conflicts] Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/core/mmc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c
index 7cd054d391fb..d1f46fa6343d 100644
--- a/drivers/mmc/core/mmc.c
+++ b/drivers/mmc/core/mmc.c
@@ -1461,8 +1461,7 @@ static int mmc_hs200_tuning(struct mmc_card *card)
*/
if (card->mmc_avail_type & EXT_CSD_CARD_TYPE_HS400 &&
host->ios.bus_width == MMC_BUS_WIDTH_8)
- if (host->ops->prepare_hs400_tuning)
- host->ops->prepare_hs400_tuning(host, &host->ios);
+ mmc_set_timing(host, MMC_TIMING_MMC_HS400);
return mmc_execute_tuning(card);
}