HomeFreeBSD

mmc: Fix HS200/HS400 capability check

Description

mmc: Fix HS200/HS400 capability check

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.

Reviewed by: manu, mw
MFC after: 2 weeks
Obtained from: Semihalf
Sponsored by: Alstom Group
Differential revision: https://reviews.freebsd.org/D33130

Details

Provenance
kdAuthored on Nov 28 2021, 11:24 AM
mwCommitted on Nov 29 2021, 4:02 PM
Reviewer
manu
Differential Revision
D33130: mmc: Fix HS200/HS400 capability check
Parents
rG181751a8b6ef: citrus_prop.c: do not ignore sign
Branches
Unknown
Tags
Unknown