Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1544919
| From | Ritesh Harjani <riteshh@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 2/4] mmc: mmc: Add change to set controller to HS400 frequency in enhanced strobe |
| Date | 2016-12-20 07:00 +0100 |
| Message-ID | <sQlCV-1sf-29@gated-at.bofh.it> (permalink) |
| References | <sQlCV-1sf-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Currently mmc_select_hs400es is not setting the desired frequency before sending switch command. This makes CMD13 to timeout on some controllers. Thus add a change to set the desired HS400 frequency in mmc_select_hs400es when the timing is switched to HS400. Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org> --- drivers/mmc/core/mmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index b61b52f9..eb69497 100644 --- a/drivers/mmc/core/mmc.c +++ b/drivers/mmc/core/mmc.c @@ -1329,6 +1329,7 @@ static int mmc_select_hs400es(struct mmc_card *card) /* Set host controller to HS400 timing and frequency */ mmc_set_timing(host, MMC_TIMING_MMC_HS400); + mmc_set_bus_speed(card); /* Controller enable enhanced strobe function */ host->ios.enhanced_strobe = true; -- The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 2/4] mmc: mmc: Add change to set controller to HS400 frequency in enhanced strobe Ritesh Harjani <riteshh@codeaurora.org> - 2016-12-20 07:00 +0100
Re: [PATCH 2/4] mmc: mmc: Add change to set controller to HS400 frequency in enhanced strobe Shawn Lin <shawn.lin@rock-chips.com> - 2016-12-20 08:40 +0100
Re: [PATCH 2/4] mmc: mmc: Add change to set controller to HS400 frequency in enhanced strobe Ritesh Harjani <riteshh@codeaurora.org> - 2016-12-20 11:40 +0100
Re: [PATCH 2/4] mmc: mmc: Add change to set controller to HS400 frequency in enhanced strobe Shawn Lin <shawn.lin@rock-chips.com> - 2016-12-20 12:10 +0100
Re: [PATCH 2/4] mmc: mmc: Add change to set controller to HS400 frequency in enhanced strobe Ritesh Harjani <riteshh@codeaurora.org> - 2016-12-20 13:10 +0100
csiph-web