probe fewer addresses for asb100 (sensors) driver
PATCH 1/1 probe fewer addresses for asb100 (sensors) driver
Hi Greg:
This patch limits SMBus scanning for the asb100 sensor chip to just one address - the only one we've ever seen in practice.
Signed-off-by Mark M. Hoffman <[email protected]>
Index: linux-2.6.10-mmh/drivers/i2c/chips/asb100.c
=================================--- linux-2.6.10-mmh.orig/drivers/i2c/chips/asb100.c 2005-01-02 16:17:07.127720911 -0500
+++ linux-2.6.10-mmh/drivers/i2c/chips/asb100.c 2005-01-02 16:17:16.098274578 -0500
@@ -56,8 +56,7 @@
#define ASB100_VERSION "1.0.0"
/* I2C addresses to scan */
-static unsigned short normal_i2c[] = { 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d,
- 0x2e, 0x2f, I2C_CLIENT_END };
+static unsigned short normal_i2c[] = { 0x2d, I2C_CLIENT_END };
/* ISA addresses to scan (none) */
static unsigned int normal_isa[] = { I2C_CLIENT_ISA_END };
Signature · 2 lines
Mark M. Hoffman [email protected]
PATCH 1/1 probe fewer addresses for asb100 (sensors) driver
Hi Mark,
Quoted 2 lines
This patch limits SMBus scanning for the asb100 sensor chip to just one address - the only one we've ever seen in practice.
Nice!
Could you please update lm_sensors2/doc/chips/asb100 accordingly?
Thanks,
Signature · 2 lines
Jean Delvare http://khali.linux-fr.org/
Greg KH
AppliedPATCH 1/1 probe fewer addresses for asb100 (sensors) driver
In reply to Mark M. HoffmanQuoted 4 lines · Mark M. Hoffman
Hi Greg:
This patch limits SMBus scanning for the asb100 sensor chip to just one address - the only one we've ever seen in practice.
Applied, thanks.
greg k-h