+9
−0
+5
−0
+3
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
In case of bad SD card recovery fails everytime.
Also some SD cards fail on Read/writes but can get initialized
successfully.
Mark card as removed and gracefully remove by calling
mmc_detect_change. Also mark the card as corrupted and return
to avoid reinitialization as sdhci_get_cd will return non zero as the
card is physically present and avoid mmc_rescan from proceeding ahead.
Change-Id: Id4c99d4608ef2b5f49cf5ac796a2aaf6d12a56c2
Signed-off-by:
Sarthak Garg <sartgarg@codeaurora.org>