The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] hwmon: lm63: Add support for the NatSemi LM96163.
@ 2011-11-07 10:20 Thierry Reding
  2011-11-07 16:49 ` Guenter Roeck
  2011-11-08  9:15 ` Jean Delvare
  0 siblings, 2 replies; 7+ messages in thread
From: Thierry Reding @ 2011-11-07 10:20 UTC (permalink / raw)
  To: Jean Delvare; +Cc: Guenter Roeck, lm-sensors, linux-kernel

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
---
 drivers/hwmon/lm63.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/hwmon/lm63.c b/drivers/hwmon/lm63.c
index 508cb29..94e373c 100644
--- a/drivers/hwmon/lm63.c
+++ b/drivers/hwmon/lm63.c
@@ -483,7 +483,7 @@ static int lm63_detect(struct i2c_client *new_client,
 		return -ENODEV;
 	}
 
-	if (chip_id == 0x41 && address == 0x4c)
+	if ((chip_id == 0x41 || chip_id == 0x49) && address == 0x4c)
 		strlcpy(info->type, "lm63", I2C_NAME_SIZE);
 	else if (chip_id == 0x51 && (address == 0x18 || address == 0x4e))
 		strlcpy(info->type, "lm64", I2C_NAME_SIZE);
-- 
1.7.7.2


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-11-09 17:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-07 10:20 [PATCH] hwmon: lm63: Add support for the NatSemi LM96163 Thierry Reding
2011-11-07 16:49 ` Guenter Roeck
2011-11-08  7:30   ` Thierry Reding
2011-11-08  8:59     ` Jean Delvare
2011-11-08  9:05       ` Thierry Reding
2011-11-09 17:42     ` Guenter Roeck
2011-11-08  9:15 ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox