sdmmc: implement clock reset controller for register api

This commit is contained in:
Michael Scire
2020-10-25 19:08:19 -07:00
parent 397d0c4295
commit 37704d670b
10 changed files with 748 additions and 12 deletions

View File

@@ -171,7 +171,7 @@ namespace ams::sdmmc::impl {
namespace {
#if defined(AMS_SDMMC_THREAD_SAFE)
constinit os::Mutex g_soc_mutex(false);
constinit os::SdkMutex g_soc_mutex;
#define AMS_SDMMC_LOCK_SOC_MUTEX() std::scoped_lock lk(g_soc_mutex)