diff options
| author | Can Guo <cang@codeaurora.org> | 2017-11-03 14:16:55 +0800 |
|---|---|---|
| committer | Can Guo <cang@codeaurora.org> | 2017-11-03 14:27:00 +0800 |
| commit | e2df383e0fbc0a280aba7bf8e3c32cf3baac3d12 (patch) | |
| tree | 2310f0eed662f391d6b0c43fdeef1c6516474982 /scripts/docproc.c | |
| parent | 11734d0451bd4ba9722ca5b2609490f66ead332c (diff) | |
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 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: Can Guo <cang@codeaurora.org>
Diffstat (limited to 'scripts/docproc.c')
0 files changed, 0 insertions, 0 deletions
