Page MenuHomeFreeBSD

mmc: Fix HS200/HS400 capability check
ClosedPublic

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

Details

Summary

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

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

Event Timeline

mindal_semihalf.com 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.