Author: manu
Date: Thu Nov 26 16:40:39 2020
New Revision: 368061
URL: https://svnweb.freebsd.org/changeset/base/368061

Log:
  sdhci: mmccam: Update vccq in the driver ios
  
  Otherwise we always report that the card is running at 1.2V.

Modified:
  head/sys/dev/sdhci/sdhci.c

Modified: head/sys/dev/sdhci/sdhci.c
==============================================================================
--- head/sys/dev/sdhci/sdhci.c  Thu Nov 26 16:40:20 2020        (r368060)
+++ head/sys/dev/sdhci/sdhci.c  Thu Nov 26 16:40:39 2020        (r368061)
@@ -2683,6 +2683,11 @@ sdhci_cam_settran_settings(struct sdhci_slot *slot, un
                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));
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to