mmc: core: Donot fall back to lower speed modes for tuning errors
CRC errors are expected during tuning. MMC driver tries to fallback to lower speed mode if it encounters consecutive CRC errors. It should ignore CRC errors observed during tuning and shouldn't try to fallback. There is a check present for ignoring CRC errors for SD card tuning commands. A new check has been added to ignore CRC errors for eMMC tuning command as well. Change-Id: Ic2bfa4f6a883fe30fdee85cf2e26779f3e906824 Signed-off-by: Pradeep P V K <ppvk@codeaurora.org>
This commit is contained in:
parent
04eb780a68
commit
7b76e6a40f
1 changed files with 2 additions and 1 deletions
|
@ -1558,7 +1558,8 @@ static void mmc_wait_for_req_done(struct mmc_host *host,
|
|||
mmc_card_removed(host->card)) {
|
||||
if (cmd->error && !cmd->retries &&
|
||||
cmd->opcode != MMC_SEND_STATUS &&
|
||||
cmd->opcode != MMC_SEND_TUNING_BLOCK)
|
||||
cmd->opcode != MMC_SEND_TUNING_BLOCK &&
|
||||
cmd->opcode != MMC_SEND_TUNING_BLOCK_HS200)
|
||||
mmc_recovery_fallback_lower_speed(host);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue