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

Skip to content
Commit edac91ad authored by Sahitya Tummala's avatar Sahitya Tummala Committed by Xiaonian Wang
Browse files

mmc: mmc: fix issue with clock scaling in HS200 mode



The scaling logic for HS400 is triggered when the card timing
mode is HS400 or when the clock rate is MMC_HS200_MAX_DTR. But
this is the same rate used in HS200 mode as well. Due to this,
in HS200 mode also, the card enters into the scaling logic meant
for HS400 which is not correct.

Correct this logic by checking the card timing in addition to the
clock rate in HS400 clock scaling logic.

Change-Id: If6261c0e42178d331184ac605c192d48a76e1e29
Signed-off-by: default avatarSahitya Tummala <stummala@codeaurora.org>
parent db5e53d8
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