+ /*
+ * if voltage doesn't change, do nothing
+ */
+ if (vdd == hp->vdd)
+ goto out;
+
if (!ISSET(hp->sc->sc_flags, SDHC_FLAG_ENHANCED)) {
/*
* Enable bus power. Wait at least 1 ms (or 74 clocks) plus
@@ -960,6 +968,9 @@ sdhc_bus_power(sdmmc_chipset_handle_t sc
}
}