Skip to content

Commit

Permalink
sdhci: mmccam: Update vccq in the driver ios
Browse files Browse the repository at this point in the history
Otherwise we always report that the card is running at 1.2V.
  • Loading branch information
evadot committed Nov 26, 2020
1 parent 10bc7d5 commit c5fc75d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sys/dev/sdhci/sdhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit c5fc75d

Please sign in to comment.