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

Commit e2df383e authored by Can Guo's avatar Can Guo
Browse files

mmc: core: add power on to SD card detect



In commit aaf56cab ("mmc: core: power off host if
SD card resume fails"), the mmc host is powered off if
SD card init failed during resume. However, the power
is not turned on before next time SD card detect.
It would not cause crash or malfunction but lead to
too many warnings. This change adds power on to
function mmc_sd_detect to make sure the power is on
before send commands to SD card.

Change-Id: I7c85ec4d6b561d167f9ff77a71f8e00f5860e8d2
Signed-off-by: default avatarCan Guo <cang@codeaurora.org>
parent 11734d04
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