<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/hwmon/jc42.c, branch linux-4.7.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.7.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.7.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2015-03-09T16:59:35+00:00</updated>
<entry>
<title>hwmon: (jc42) Add support for additional IDT temperature sensors</title>
<updated>2015-03-09T16:59:35+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2015-02-02T01:20:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0ea2f1db8e6888029b781bbaf68547e2e0996402'/>
<id>urn:sha1:0ea2f1db8e6888029b781bbaf68547e2e0996402</id>
<content type='text'>
TS3000GB0 has a new device ID (0x2913). Since IDT's datasheets suggest
that the upper 8 bit of the device ID reflect the chip ID and the lower
8 bit reflect the version number, modify the code to accept all chips
with ID 0x29xx.

Also add support for TS3001 and TSE2004.

Some of the datasheets for older chips are no longer available from
the IDT web site, so replace explicit links in the documentation with
a generic note.

Reviewed-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (jc42) Allow negative hysteresis temperatures</title>
<updated>2015-01-26T05:24:00+00:00</updated>
<author>
<name>Jean Delvare</name>
<email>jdelvare@suse.de</email>
</author>
<published>2015-01-23T09:27:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9130880a1c2de115d4a3af0f78b2a437a77a1b7e'/>
<id>urn:sha1:9130880a1c2de115d4a3af0f78b2a437a77a1b7e</id>
<content type='text'>
The driver supports negative high and critical limits, it can return
negative hysteresis values, so there is no good reason to not let the
user write negative hysteresis values.

Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Cc: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (jc42) Fix integer overflow when writing hysteresis value</title>
<updated>2015-01-26T05:23:59+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2015-01-19T17:16:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e2c26f058e31619b548046b84fe2c2116cb5016f'/>
<id>urn:sha1:e2c26f058e31619b548046b84fe2c2116cb5016f</id>
<content type='text'>
Subtracting an unsigned long from a signed value causes an overflow with large
values. Use clamp_val() to reduce the number range prior to subtracting it
from the temperature limit.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Reviewed-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</content>
</entry>
<entry>
<title>hwmon: (jc42) Fix integer overflow</title>
<updated>2015-01-26T05:23:59+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2015-01-19T01:29:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3a05633b042fb4aea65b09ce2d0d43689df6eb9a'/>
<id>urn:sha1:3a05633b042fb4aea65b09ce2d0d43689df6eb9a</id>
<content type='text'>
Mixed use of long and int caused an integer overflow when writing large limits.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Reviewed-by: Jean Delvare &lt;jdelvare@suse.de&gt;
</content>
</entry>
<entry>
<title>hwmon: (jc42) Use sign_extend32 for sign extension</title>
<updated>2015-01-26T05:23:59+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2015-01-19T01:27:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bca6a1ada0464b7179f34f9af62bcdfd60c223e7'/>
<id>urn:sha1:bca6a1ada0464b7179f34f9af62bcdfd60c223e7</id>
<content type='text'>
Despite the name, sign_extend32 works just fine for 16 bit variables,
so it is safe to use.

Cc: Martin Kepplinger &lt;martink@posteo.de&gt;
Reviewed-by: Jean Delvare &lt;jdelvare@suse.de&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (jc42) Add support for STTS2004 and AT30TSE004</title>
<updated>2014-05-21T23:02:25+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2014-04-16T05:07:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=175c490c9e7f75dbe6addd937c41939c137c6847'/>
<id>urn:sha1:175c490c9e7f75dbe6addd937c41939c137c6847</id>
<content type='text'>
Also fix links to datasheets for other supported sensors from
ST Microelectronics, and add links to several Atmel datasheets.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (jc42) Convert function macros into functions</title>
<updated>2014-05-21T23:02:25+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2014-04-16T04:44:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=10192bc654bdfd76ece980f2f6b9056c5919e8a8'/>
<id>urn:sha1:10192bc654bdfd76ece980f2f6b9056c5919e8a8</id>
<content type='text'>
Convert function macros into functions to make the code
easier to read and reduce code size.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (jc42) Rearrange code to avoid forward declarations</title>
<updated>2014-05-21T23:02:24+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2014-04-16T04:28:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=d397276b0c833b0089cb19d94fbc35a43ada58a7'/>
<id>urn:sha1:d397276b0c833b0089cb19d94fbc35a43ada58a7</id>
<content type='text'>
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (jc42) fix coccinelle warnings</title>
<updated>2013-10-18T16:12:01+00:00</updated>
<author>
<name>Fengguang Wu</name>
<email>fengguang.wu@intel.com</email>
</author>
<published>2013-09-18T03:54:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=650a2c02b5a0eaf46209bf505f95739366119bc8'/>
<id>urn:sha1:650a2c02b5a0eaf46209bf505f95739366119bc8</id>
<content type='text'>
drivers/hwmon/jc42.c:521:1-3: WARNING: PTR_RET can be used

 Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR

Generated by: coccinelle/api/ptr_ret.cocci

CC: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (jc42) Convert to use devm_hwmon_device_register_with_groups</title>
<updated>2013-10-18T16:11:58+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2013-09-05T16:02:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=62f9a57c0b48b6fd6c13e3b8d0c424737b1103c9'/>
<id>urn:sha1:62f9a57c0b48b6fd6c13e3b8d0c424737b1103c9</id>
<content type='text'>
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
</feed>
