aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/chips/eeprom.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/chips/eeprom.c')
-rw-r--r--drivers/i2c/chips/eeprom.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/i2c/chips/eeprom.c b/drivers/i2c/chips/eeprom.c
index a27420a54c84..d58403a47908 100644
--- a/drivers/i2c/chips/eeprom.c
+++ b/drivers/i2c/chips/eeprom.c
@@ -161,11 +161,6 @@ int eeprom_detect(struct i2c_adapter *adapter, int address, int kind)
161 struct eeprom_data *data; 161 struct eeprom_data *data;
162 int err = 0; 162 int err = 0;
163 163
164 /* prevent 24RF08 corruption */
165 if (kind < 0)
166 i2c_smbus_xfer(adapter, address, 0, 0, 0,
167 I2C_SMBUS_QUICK, NULL);
168
169 /* There are three ways we can read the EEPROM data: 164 /* There are three ways we can read the EEPROM data:
170 (1) I2C block reads (faster, but unsupported by most adapters) 165 (1) I2C block reads (faster, but unsupported by most adapters)
171 (2) Consecutive byte reads (100% overhead) 166 (2) Consecutive byte reads (100% overhead)