HomeFreeBSD

mmc: ignore CRC errors from CMD13 (status) when changing rates

Description

mmc: ignore CRC errors from CMD13 (status) when changing rates

Update mmc_switch_status to ignore a few CRC errrors when asking for the
card status after setting the new rate with CMD6. Since the card may
take a little while to make the switch, it's possible we'll get a
communications error if we sent the command at the wrong time. Several
low end laptops needs this workaround as they have a window that seems
longer than other systems. This is known to fix at least the Acer Aspire
A114-32-P7E5.

Reviewed by: imp@, manu@
Differential Revision: https://reviews.freebsd.org/D24740

Details

Provenance
ashafer_badland.ioAuthored on Jun 3 2021, 1:46 AM
impCommitted on Jun 3 2021, 1:46 AM
Differential Revision
D24740: mmc: Ignore BADCRC errors in CMD13 when switching to HS200
Parents
rG9a0f82285322: wpa: Fix a SIGBUS error in wpa_sm_set_rekey_offload
Branches
Unknown
Tags
Unknown