sdhci: mmccam: Update vccq in the driver ios

Otherwise we always report that the card is running at 1.2V.
This commit is contained in:
Emmanuel Vadot 2020-11-26 16:40:39 +00:00
parent b18f2ef413
commit 1a96c1434f

View File

@ -2683,6 +2683,11 @@ sdhci_cam_settran_settings(struct sdhci_slot *slot, union ccb *ccb)
if (sdhci_debug > 1)
slot_printf(slot, "Bus mode => %d\n", ios->bus_mode);
}
if (cts->ios_valid & MMC_VCCQ) {
ios->vccq = new_ios->vccq;
if (sdhci_debug > 1)
slot_printf(slot, "VCCQ => %d\n", ios->vccq);
}
/* XXX Provide a way to call a chip-specific IOS update, required for TI */
return (sdhci_cam_update_ios(slot));