RE: [PATCH] mmc: core: add a power cycle when CMD11 fails
From: DooHyun Hwang
Date: Thu Feb 25 2021 - 02:44:58 EST
Dear Maintainers and commiters.
Please review this patch for updating.
Thanks and regards.
DooHyun Hwang.
On 17/02/10 4:59 am, DooHyun Hwang wrote:
>
Subject: [PATCH] mmc: core: add a power cycle when CMD11 fails
>
>
A power cycle is required if CMD11 fails.
>
CMD11 failure should be handled as no response.
>
>
If there is a timeout error that means no response to the CMD11, do not
>
send the CMD11 again and the power cycle is required.
>
Any other errors for CMD11 are the same because CMD11 failed.
>
>
On some bad SD Card, CMD11 may fail but the card may have already invoked
>
the voltage switch sequence.
>
In this case, it is necessary to retry without voltage switching after
>
power cycle.
>
>
Signed-off-by: DooHyun Hwang <dh0421.hwang@xxxxxxxxxxx>