dev/i2c_eeprom.c: Use negative offset when addr>0xff is mangled with dev addr
3 unresolved threads
+ 30
− 6
@@ -7,10 +7,27 @@
@@ -23,9 +40,10 @@ int i2c_eeprom_read(struct i2c_eeprom_device *dev, int offset, void *buf, int co
@@ -35,7 +53,7 @@ int i2c_eeprom_read(struct i2c_eeprom_device *dev, int offset, void *buf, int co
@@ -51,11 +69,14 @@ int i2c_eeprom_write(struct i2c_eeprom_device *dev, int offset, void *buf, int c
@@ -70,7 +91,7 @@ int i2c_eeprom_write(struct i2c_eeprom_device *dev, int offset, void *buf, int c
@@ -81,11 +102,14 @@ int i2c_eeprom_write(struct i2c_eeprom_device *dev, int offset, void *buf, int c
@@ -100,7 +124,7 @@ int i2c_eeprom_erase(struct i2c_eeprom_device *dev, int offset, int count)