fusee: Properly finalize SDMMC1 (fixes 8.0.0 issues with PCV)

This commit is contained in:
hexkyz 2019-04-20 17:30:03 +01:00 committed by SciresM
parent a3389e25c9
commit 732a6159f7
4 changed files with 33 additions and 2 deletions

View file

@ -1202,6 +1202,9 @@ void sdmmc_finish(sdmmc_t *sdmmc)
/* Power cycle for 100ms without power. */
mdelay(100);
/* Disable the regulator. */
max77620_regulator_enable(REGULATOR_LDO2, 0);
}
/* Force a register read to refresh the clock control value. */