<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/hwmon/ads1015.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-09-13T22:41:43Z</updated>
<entry>
<title>hwmon: (ads1015) Fix out-of-bounds array access</title>
<updated>2014-09-13T22:41:43Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2014-08-05T01:59:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=35175850a97e752092c285051ca15201cfdcda81'/>
<id>urn:sha1:35175850a97e752092c285051ca15201cfdcda81</id>
<content type='text'>
commit e981429557cbe10c780fab1c1a237cb832757652 upstream.

Current code uses data_rate as array index in ads1015_read_adc() and uses pga
as array index in ads1015_reg_to_mv, so we must make sure both data_rate and
pga settings are in valid value range.
Return -EINVAL if the setting is out-of-range.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>hwmon: (ads1015) Fix off-by-one for valid channel index checking</title>
<updated>2014-09-13T22:41:40Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2014-07-30T03:13:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=395166a4a56a41c221271211a914cf04436a893d'/>
<id>urn:sha1:395166a4a56a41c221271211a914cf04436a893d</id>
<content type='text'>
commit 56de1377ad92f72ee4e5cb0faf7a9b6048fdf0bf upstream.

Current code uses channel as array index, so the valid channel value is
0 .. ADS1015_CHANNELS - 1.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>hwmon: (ads1015) Fix file leak in probe function</title>
<updated>2012-03-01T00:31:13Z</updated>
<author>
<name>Guenter Roeck</name>
</author>
<published>2012-02-22T16:13:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4651f6ab6be87e326d7ed3820be6cedfca323e51'/>
<id>urn:sha1:4651f6ab6be87e326d7ed3820be6cedfca323e51</id>
<content type='text'>
commit 363434b5dc352464ac7601547891e5fc9105f124 upstream.

An error while creating sysfs attribute files in the driver's probe function
results in an error abort, but already created files are not removed. This patch
fixes the problem.

Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Cc: Dirk Eibach &lt;eibach@gdsys.de&gt;
Acked-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>hwmon: Use i2c_smbus_{read,write}_word_swapped</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=90f4102ce59226954edbe960b2434d8b3da5f086'/>
<id>urn:sha1:90f4102ce59226954edbe960b2434d8b3da5f086</id>
<content type='text'>
Make use of the new i2c_smbus_{read,write}_word_swapped functions.
This makes the driver code more compact and readable. It also ensures
proper error handling.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Jonathan Cameron &lt;jic23@cam.ac.uk&gt;
Acked-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Cc: Dirk Eibach &lt;eibach@gdsys.de&gt;
Cc: "Mark M. Hoffman" &lt;mhoffman@lightlink.com&gt;
Cc: Guillaume Ligneul &lt;guillaume.ligneul@gmail.com&gt;
</content>
</entry>
<entry>
<title>hwmon: (ads1015) Make gain and datarate configurable</title>
<updated>2011-03-21T16:59:37Z</updated>
<author>
<name>Dirk Eibach</name>
</author>
<published>2011-03-21T16:59:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c0046867f34bb81ec3f237ebbc5241ae678b8379'/>
<id>urn:sha1:c0046867f34bb81ec3f237ebbc5241ae678b8379</id>
<content type='text'>
Configuration for ads1015 gain and datarate is possible via
devicetree or platform data.

This is a followup patch to previous ads1015 patches on Jean Delvares
tree.

Signed-off-by: Dirk Eibach &lt;eibach@gdsys.de&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>hwmon: (ads1015) Drop dynamic attribute group</title>
<updated>2011-03-21T16:59:37Z</updated>
<author>
<name>Jean Delvare</name>
</author>
<published>2011-03-21T16:59:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fdf241a8ed93236915c70717a4b6dfb856274496'/>
<id>urn:sha1:fdf241a8ed93236915c70717a4b6dfb856274496</id>
<content type='text'>
It is cheaper to handle attributes individually.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Acked-by: Dirk Eibach &lt;eibach@gdsys.de&gt;
</content>
</entry>
<entry>
<title>hwmon: Add support for Texas Instruments ADS1015</title>
<updated>2011-03-21T16:59:36Z</updated>
<author>
<name>Dirk Eibach</name>
</author>
<published>2011-03-21T16:59:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8c22a8f57516275afcd81c84f3724ac08cf6aa7b'/>
<id>urn:sha1:8c22a8f57516275afcd81c84f3724ac08cf6aa7b</id>
<content type='text'>
Signed-off-by: Dirk Eibach &lt;eibach@gdsys.de&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
</feed>
