mirror of
https://github.com/armbian/build.git
synced 2025-09-19 12:41:39 +02:00
* merge patches from rockchip and rk322x families for current and edge kernels * adjust patches for tinkerboard to remove some cruft and overclocking * rework kernel configs * fix rk322x dmc to avoid lockup on rk3288 * migrate rockchip-6.6 into patch series, rename all patches with more understandable names * add gen-series.sh script in tools directory (it is a naive tool to create patch series when you don't want to rebase everything)
20 lines
569 B
Diff
20 lines
569 B
Diff
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
|
|
index 5bd58b95d..48ebe081f 100644
|
|
--- a/drivers/mmc/core/core.c
|
|
+++ b/drivers/mmc/core/core.c
|
|
@@ -1684,6 +1684,14 @@ void mmc_power_off(struct mmc_host *host)
|
|
if (host->ios.power_mode == MMC_POWER_OFF)
|
|
return;
|
|
|
|
+ mmc_set_initial_signal_voltage(host);
|
|
+
|
|
+ /*
|
|
+ * This delay should be sufficient to allow the power supply
|
|
+ * to reach the minimum voltage.
|
|
+ */
|
|
+ mmc_delay(host->ios.power_delay_ms);
|
|
+
|
|
mmc_pwrseq_power_off(host);
|
|
|
|
host->ios.clock = 0;
|