From: Jekyll Lai <jekyll_lai@xxxxxxxxxxx> emc1423 uses the similar register and adds a hardware shutdown pin to protect exceed temperature. This function is set by resistor; it's not necessary to do anything in the driver except add the emc1423 pid of 0x23. Signed-off-by: Jekyll Lai <jekyll_lai@xxxxxxxxxxx> Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx> --- drivers/hwmon/emc1403.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/hwmon/emc1403.c b/drivers/hwmon/emc1403.c index 8dee3f3..9141e22 100644 --- a/drivers/hwmon/emc1403.c +++ b/drivers/hwmon/emc1403.c @@ -278,7 +278,7 @@ static int emc1403_detect(struct i2c_client *client, /* Note: 0x25 is the 1404 which is very similar and this driver could be extended */ id = i2c_smbus_read_byte_data(client, THERMAL_PID_REG); - if (id != 0x21) + if (id != 0x21 && id != 0x23) /* 0x21:emc1403 0x23:emc1423*/ return -ENODEV; id = i2c_smbus_read_byte_data(client, THERMAL_REVISION_REG); _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors