diff options
Diffstat (limited to 'src/drivers/i2c/at24rf08c')
-rw-r--r-- | src/drivers/i2c/at24rf08c/at24rf08c.c | 2 | ||||
-rw-r--r-- | src/drivers/i2c/at24rf08c/lenovo_serials.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/i2c/at24rf08c/at24rf08c.c b/src/drivers/i2c/at24rf08c/at24rf08c.c index aa262d743b..4918630ccd 100644 --- a/src/drivers/i2c/at24rf08c/at24rf08c.c +++ b/src/drivers/i2c/at24rf08c/at24rf08c.c @@ -28,7 +28,7 @@ static void at24rf08c_init(struct device *dev) if (!dev->enabled) return; - /* Ensure that EEPROM/RFID chip is not accessible through RFID. + /* Ensure that EEPROM/RFID chip is not accessible through RFID. Need to do it only on 5c. */ if (dev->path.type != DEVICE_PATH_I2C || dev->path.i2c.device != 0x5c) return; diff --git a/src/drivers/i2c/at24rf08c/lenovo_serials.c b/src/drivers/i2c/at24rf08c/lenovo_serials.c index d0d006f8e5..0209bb28b9 100644 --- a/src/drivers/i2c/at24rf08c/lenovo_serials.c +++ b/src/drivers/i2c/at24rf08c/lenovo_serials.c @@ -39,7 +39,7 @@ static int at24rf08c_read_byte(struct device *dev, u8 addr) int t = -1; int j; - /* After a register write AT24RF08C (which we issued in init function) + /* After a register write AT24RF08C (which we issued in init function) sometimes stops responding. Retry several times in case of failure. */ for (j = 0; j < 100; j++) { |