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

Commit 7716fb9b authored by Ram Prakash Gupta's avatar Ram Prakash Gupta
Browse files

mmc: core: power cycle card when sd card switch voltage operation fails



As per the sd card spec, mmc need to power cycle sd card in case sd
card voltage switch operation fails. Currently we are directly going
for low speed mode without power cycle, which is in violation of sd
card spec. Now we will retry for 10 times in case timeout happens
while switching voltage and at last, in case, it did not succeed in
switching sd card voltage, mmc would go for low speed mode.

Change-Id: Icece08732b8d52104e0890dce81ad16844265edd
Signed-off-by: default avatarRam Prakash Gupta <rampraka@codeaurora.org>
parent 502257f3
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