From 88607a4b1002ed6acc7f316f274feea2fd861095 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 5 Oct 2018 10:36:45 +0200 Subject: src: Use tabs for indentation Change-Id: I6b40aaf5af5d114bbb0cd227dfd50b0ee19eebba Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/28934 Reviewed-by: Stefan Reinauer Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- src/drivers/i2c/at24rf08c/at24rf08c.c | 2 +- src/drivers/i2c/at24rf08c/lenovo_serials.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/drivers/i2c/at24rf08c') 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++) { -- cgit v1.2.3