Page MenuHomeFreeBSD

mmc: Fix HS200/HS400 capability check

Authored by on Nov 26 2021, 2:50 PM.



HS200 and HS400 speeds can be enabled either with 1.2, or 1.8V signaling voltage.
Because of that we have four cabability flags: MMC_CAP_MMC_HS200_120, MMC_CAP_MMC_HS200_180, MMC_CAP_MMC_HS400_120, MMC_CAP_MMC_HS400_180.
MMC logic only enables HS200/HS400 mode if both flags are set for the corresponding speed.
Fix that by being more permissive in host timing cap check.

Diff Detail

R10 FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline created this revision.
This revision is now accepted and ready to land.Nov 26 2021, 3:07 PM
This revision was automatically updated to reflect the committed changes.