bdk: clock: streamline sdmmc func naming

Additionally, restored the pclock variable because of _clock_sdmmc_config_clock_host store order.
This commit is contained in:
CTCaer authored and NaGa committed 2026-03-27 09:51:46 +01:00
1 parent ac0d98ad29
commit fa2d7854d3
3 files changed
+23 -21

No files matched your search

+1 -1
View File
@@ -1372,7 +1372,7 @@ int sdmmc_init(sdmmc_t *sdmmc, u32 id, u32 power, u32 bus_width, u32 type)
}
// Disable clock if enabled.
if (clock_sdmmc_is_not_reset_and_enabled(id))
if (clock_sdmmc_is_active(id))
{
_sdmmc_card_clock_disable(sdmmc);
_sdmmc_commit_changes(sdmmc);