Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bd7cf09f authored by Sayali Lokhande's avatar Sayali Lokhande Committed by Gerrit - the friendly Code Review server
Browse files

mmc: core: fix bus-width selection in HS400 mode



During card initialization, for hs400 enhanced strobe
mode we already set the bus width to 8 as part of
mmc_select_hs400.
i.e: mmc_init_card->mmc_select_timing->mmc_select_hs400

Commit 5a86b115 ("mmc: core: fix multi-bit bus width
without high-speed mode") modified bus width selection mode
for hs400(mmc_select_bus_width is being called twice now)
which is resulting in switch command failure(-110 error).

Fix this by adding condition to check if hs400 is supported
before bus-width selection.

Change-Id: I698260599276a251ffbe2f242175be0dc51a91de
Signed-off-by: default avatarSayali Lokhande <sayalil@codeaurora.org>
parent 272879fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment