HomeFreeBSD

Fix typo in Driver Type A/C/D capability checks in sdhci.

Description

Fix typo in Driver Type A/C/D capability checks in sdhci.

Use the SDHCI_CAN_DRIVE_TYPE_A/_C/_D masks to check for Driver Type support,
instead of using the SDHCI_CTRL2_DRIVER_TYPE_A/_C/_D values which are meant
for setting the Driver Type in the HOST_CONTROL2 register.

Approved by: adrian (mentor), jmcneill
Differential Revision: https://reviews.freebsd.org/D10999

Details

Provenance
ivadaszAuthored on
Differential Revision
D10999: Fix typo in Driver Type A/C/D capability checks in sdhci.
Parents
rS319349: MFC: r313105, r313106
Branches
Unknown
Tags
Unknown