i2c: implement remaining required driver logic

This commit is contained in:
Michael Scire committed 2020-11-01 00:52:02 -07:00
1 parent 43f7b10c0f
commit 22ae1d5bd3
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. */