hwmon: (emc1403) Fix I2C address range
PATCH 1/1 hwmon: (emc1403) Fix I2C address range
I2C address range included 0x2a, which the chips do not support. Replace with 0x29 which is supported but was missing.
Signed-off-by Guenter Roeck <[email protected]>
--- drivers/hwmon/emc1403.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/hwmon/emc1403.c +1 -1
@@ -344,7 +344,7 @@ static int emc1403_remove(struct i2c_client *client) }static const unsigned short emc1403_address_list[] = { -0x18 ,0x2a ,0x4c ,0x4d ,I2C_CLIENT_END +0x18 ,0x29 ,0x4c ,0x4d ,I2C_CLIENT_END };static const struct i2c_device_id emc1403_idtable[] = {
Signature · 7 lines
1.7.3.1 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 4 lines · Guenter Roeck
I2C address range included
0x2a, which the chips do not support. Replace with0x29which is supported but was missing.Signed-off-by Guenter Roeck <[email protected]>
Acked-by Jean Delvare <[email protected]>
Quoted 17 lines
--- drivers/hwmon/emc1403.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)drivers/hwmon/emc1403.c +1
-1@@ -344,7 +344,7 @@ static int emc1403_remove(struct i2c_client *client) }static const unsigned short emc1403_address_list[] = { -0x18 ,0x2a ,0x4c ,0x4d ,I2C_CLIENT_END +0x18 ,0x29 ,0x4c ,0x4d ,I2C_CLIENT_END };static const struct i2c_device_id emc1403_idtable[] = {
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors