This commit is contained in:
Jasmine Iwanek
2022-08-11 22:03:08 -04:00
parent fae0eb7bf8
commit 3ed2b10241
4 changed files with 16 additions and 11 deletions

View File

@@ -344,10 +344,10 @@ unknown_protocol:
}
/* Finish transfer. */
if (dev->local == SMBUS_INTEL_ICH2) // ICH2 SMBus specific. Transfer on Byte command doesn't stop till their specific points.
if (dev->local == SMBUS_INTEL_ICH2) { // ICH2 SMBus specific. Transfer on Byte command doesn't stop till their specific points.
if (!dev->byte_rw)
i2c_stop(i2c_smbus, smbus_addr);
else
} else
i2c_stop(i2c_smbus, smbus_addr);
}
break;