i2c: implement remaining required driver logic

This commit is contained in:
Michael Scire authored and SciresM committed 2020-11-14 03:37:51 -08:00
1 parent 258cfb62a2
commit 323e893433
14 files changed
+307 -17

No files matched your search

@@ -397,7 +397,7 @@ namespace ams::i2c::driver::board::nintendo_nx::impl {
this->DisableInterruptMask();
os::ClearInterruptEvent(std::addressof(this->interrupt_event));
return i2c::ResultInterruptTimeout();
return i2c::ResultTimeout();
}
/* Check and handle any errors. */
@@ -427,7 +427,7 @@ namespace ams::i2c::driver::board::nintendo_nx::impl {
this->DisableInterruptMask();
os::ClearInterruptEvent(std::addressof(this->interrupt_event));
return i2c::ResultInterruptTimeout();
return i2c::ResultTimeout();
}
}
@@ -472,7 +472,7 @@ namespace ams::i2c::driver::board::nintendo_nx::impl {
this->DisableInterruptMask();
os::ClearInterruptEvent(std::addressof(this->interrupt_event));
return i2c::ResultInterruptTimeout();
return i2c::ResultTimeout();
}
/* Check and handle any errors. */