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

@@ -24,7 +24,7 @@ namespace ams::boot {
i2c::driver::I2cSession i2c_session;
public:
PmicDriver() {
i2c::driver::OpenSession(std::addressof(this->i2c_session), i2c::DeviceCode_Max77620Pmic);
R_ABORT_UNLESS(i2c::driver::OpenSession(std::addressof(this->i2c_session), i2c::DeviceCode_Max77620Pmic));
}
~PmicDriver() {