Allow word transfers in AMD ADL I2C

This commit is contained in:
Adam Honse
2022-09-29 16:37:49 -05:00
parent f4f97c61ea
commit 15e1fbd4ee

View File

@@ -163,7 +163,7 @@ s32 i2c_smbus_amdadl::i2c_smbus_xfer(u8 addr, char read_write, u8 command, int s
break;
case I2C_SMBUS_WORD_DATA:
return -1;
pI2C->iDataSize = 2;
break;
case I2C_SMBUS_BLOCK_DATA: