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

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