<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hwmon/lm90.c, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-01-03T04:33:22Z</updated>
<entry>
<title>hwmon: (lm90) Fix max6696 alarm handling</title>
<updated>2014-01-03T04:33:22Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2013-11-15T09:40:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f35b19b0a1f3cd9e4e308e3848ee67b5acf95ee3'/>
<id>urn:sha1:f35b19b0a1f3cd9e4e308e3848ee67b5acf95ee3</id>
<content type='text'>
commit e41fae2b1ed8c78283d73651cd65be0228c0dd1c upstream.

Bit 2 of status register 2 on MAX6696 (external diode 2 open)
sets ALERT; the bit thus has to be listed in alert_alarms.
Also display a message in the alert handler if the condition
is encountered.

Even though not all overtemperature conditions cause ALERT
to be set, we should not ignore them in the alert handler.
Display messages for all out-of-range conditions.

Reported-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>hwmon: (lm90) Make code more readable</title>
<updated>2011-11-04T11:00:47Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-11-04T11:00:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b2589ab02b46ea4a80b30a90fc2fe8eed957e86a'/>
<id>urn:sha1:b2589ab02b46ea4a80b30a90fc2fe8eed957e86a</id>
<content type='text'>
Clean up the code to make it more readable:
* Remove reg_ and new_ prefixes from variable names, they made the
  names longer, causing extra line breaks, while not adding much
  value.
* Introduce struct device dev* = &amp;client-&gt;dev in two functions, to
  avoid repeating client-&gt;dev everywhere in these functions.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (lm90) Fix warnings</title>
<updated>2011-11-04T11:00:46Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-11-04T11:00:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8dc089d68b125179b1c97e75d29623472d99c68b'/>
<id>urn:sha1:8dc089d68b125179b1c97e75d29623472d99c68b</id>
<content type='text'>
With some configuration option combinations, we get the following
warnings:

drivers/hwmon/lm90.c: In function 'lm90_detect':
drivers/hwmon/lm90.c:1114: warning: 'chip_id' may be used uninitialized
in this function
drivers/hwmon/lm90.c:1114: warning: 'reg_config1' may be used
uninitialized in this function
drivers/hwmon/lm90.c:1114: warning: 'reg_convrate' may be used
uninitialized in this function
drivers/hwmon/lm90.c:1187: warning: 'reg_emerg2' may be used
uninitialized in this function
drivers/hwmon/lm90.c:1187: warning: 'reg_status2' may be used
uninitialized in this function

We can solve these easily by reading the register values first and
checking for errors later. These errors should be very rare, even in
the case of failed detection, so this change has no impact on
performance. And this makes checkpatch.pl happier.

Reported-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (lm90) Refactor reading of config2 register</title>
<updated>2011-07-29T03:16:36Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-07-24T18:37:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f90be42fb383f39aa814b8e14de138da8973e5c1'/>
<id>urn:sha1:f90be42fb383f39aa814b8e14de138da8973e5c1</id>
<content type='text'>
Several vendors implement a second configuration register, which we
check during device detection. Refactor the code to avoid duplication.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Stijn Devriendt &lt;sdevrien@cisco.com&gt;
Cc: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (lm90) Make SA56004 detection more robust</title>
<updated>2011-07-29T03:16:36Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-07-24T18:36:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d101c588f0fe08ef00f16c1a93762dd5d563df7'/>
<id>urn:sha1:6d101c588f0fe08ef00f16c1a93762dd5d563df7</id>
<content type='text'>
With a device ID register value of 0, the SA56004 detection is rather
weak. Check several other register too to confirm the detection, as we
do for other supported devices.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Stijn Devriendt &lt;sdevrien@cisco.com&gt;
Cc: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Acked-by: Stijn Devriendt &lt;sdevrien@cisco.com&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (lm90) Simplify handling of extended local temp register</title>
<updated>2011-07-29T03:16:35Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-07-28T06:22:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a095f687f1e19c54147bd51f735717508a49e225'/>
<id>urn:sha1:a095f687f1e19c54147bd51f735717508a49e225</id>
<content type='text'>
The optional extended local temperature register can never have
address 0, as this address is already used by another register. Thus
we can get rid of flag LM90_HAVE_LOCAL_EXT and simply rely on
reg_local_ext being non-zero to determine if a given chip has this
extension or not. This makes the code more simple.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Stijn Devriendt &lt;sdevrien@cisco.com&gt;
Cc: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (lm90) Add support for Philips SA56004</title>
<updated>2011-07-28T07:17:34Z</updated>
<author>
<name>Stijn Devriendt</name>
</author>
<published>2011-06-06T10:40:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2ef017935d698b1c7c7421a7ebe20579d8f904dd'/>
<id>urn:sha1:2ef017935d698b1c7c7421a7ebe20579d8f904dd</id>
<content type='text'>
Add support for Philips SA56004, an LM86 compatible temperature sensor.

Signed-off-by: Stijn Devriendt &lt;sdevrien@cisco.com&gt;
Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (lm90) Add support for ADT7461A and NCT1008</title>
<updated>2011-04-29T14:33:35Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2011-04-29T14:33:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5a4e5e6a701bea7d3cbeed19fa9ea45802e8fabb'/>
<id>urn:sha1:5a4e5e6a701bea7d3cbeed19fa9ea45802e8fabb</id>
<content type='text'>
This patch adds support for ADT7461A and NCT1008 to the lm90 driver.
Both chips have identical functionality and report the same manufacturing ID
and device ID values.

Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>Fix common misspellings</title>
<updated>2011-03-31T14:26:23Z</updated>
<author>
<name>Lucas De Marchi</name>
</author>
<published>2011-03-31T01:57:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=25985edcedea6396277003854657b5f3cb31a628'/>
<id>urn:sha1:25985edcedea6396277003854657b5f3cb31a628</id>
<content type='text'>
Fixes generated by 'codespell' and manually reviewed.

Signed-off-by: Lucas De Marchi &lt;lucas.demarchi@profusion.mobi&gt;
</content>
</entry>
<entry>
<title>hwmon: (lm90) Add support for the W83L771W/G</title>
<updated>2010-10-28T18:31:44Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2010-10-28T18:31:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c4f99a2b8fb4c564865f0037a2b7be690d4409f3'/>
<id>urn:sha1:c4f99a2b8fb4c564865f0037a2b7be690d4409f3</id>
<content type='text'>
I was wondering if that chip ever existed publicly... Apparently yes,
so add support for it.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Tested-by: Alexander Stein &lt;alexander.stein@informatik.tu-chemnitz.de&gt;
Acked-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
</content>
</entry>
</feed>
