mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-18 17:11:23 +00:00
fusee: Disable the SDCLK when switching to low voltage.
This commit is contained in:
parent
dd4993dfda
commit
a2104b85ce
@ -1712,6 +1712,9 @@ int sdmmc_switch_voltage(sdmmc_t *sdmmc)
|
||||
{
|
||||
volatile tegra_pmc_t *pmc = pmc_get_regs();
|
||||
|
||||
/* Disable the SD clock. */
|
||||
sdmmc_disable_sd_clock(sdmmc);
|
||||
|
||||
/* Reconfigure the internal clock. */
|
||||
if (!sdmmc_select_speed(sdmmc, SDMMC_SPEED_SDR12))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user