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

Skip to content
Commit 56090504 authored by Can Guo's avatar Can Guo Committed by Veerabhadrarao Badiganti
Browse files

mmc: core: add power on to SD card detect



In commit aaf56cab2137 ("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 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>
Signed-off-by: default avatarVeerabhadrarao Badiganti <vbadigan@codeaurora.org>
parent 98c76e20
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment