From: Guenter Roeck Date: Thu, 28 May 2015 17:45:34 +0000 Subject: Re: [lm-sensors] [PATCH] hwmon: (tmp401) Do not auto-detect chip on I2C address 0x37 Message-Id: <20150528174534.GB17302@roeck-us.net> List-Id: References: <1432768496-14647-1-git-send-email-linux@roeck-us.net> In-Reply-To: <1432768496-14647-1-git-send-email-linux@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org On Thu, May 28, 2015 at 07:52:27AM +0200, Jean Delvare wrote: > Hi Guenter, > > On Wed, 27 May 2015 16:14:56 -0700, Guenter Roeck wrote: > > I2C address 0x37 may be used by EEPROMs, which can result in false > > positives. Do not attempt to detect a chip at this address. > > > > Signed-off-by: Guenter Roeck > > --- > > Documentation/hwmon/tmp401 | 2 +- > > drivers/hwmon/tmp401.c | 2 +- > > 2 files changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/Documentation/hwmon/tmp401 b/Documentation/hwmon/tmp401 > > index 8eb88e974055..711f75e189eb 100644 > > --- a/Documentation/hwmon/tmp401 > > +++ b/Documentation/hwmon/tmp401 > > @@ -20,7 +20,7 @@ Supported chips: > > Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp432.html > > * Texas Instruments TMP435 > > Prefix: 'tmp435' > > - Addresses scanned: I2C 0x37, 0x48 - 0x4f > > + Addresses scanned: I2C 0x48 - 0x4f > > Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp435.html > > > > Authors: > > diff --git a/drivers/hwmon/tmp401.c b/drivers/hwmon/tmp401.c > > index 99664ebc738d..ccf4cffe0ee1 100644 > > --- a/drivers/hwmon/tmp401.c > > +++ b/drivers/hwmon/tmp401.c > > @@ -44,7 +44,7 @@ > > #include > > > > /* Addresses to scan */ > > -static const unsigned short normal_i2c[] = { 0x37, 0x48, 0x49, 0x4a, 0x4c, 0x4d, > > +static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4c, 0x4d, > > 0x4e, 0x4f, I2C_CLIENT_END }; > > > > enum chips { tmp401, tmp411, tmp431, tmp432, tmp435 }; > > Baaah, you're faster than me, as always. > > Reviewed-by: Jean Delvare > Thanks! Guenter _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors