<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/hwmon/ads1015.c, branch linux-4.16.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.16.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-4.16.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2017-08-13T15:24:38+00:00</updated>
<entry>
<title>hwmon: (ads1015) Convert to using %pOF instead of full_name</title>
<updated>2017-08-13T15:24:38+00:00</updated>
<author>
<name>Rob Herring</name>
<email>robh@kernel.org</email>
</author>
<published>2017-07-18T21:43:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bb923fdc374420116b8425a49b9bfb38caa35e7f'/>
<id>urn:sha1:bb923fdc374420116b8425a49b9bfb38caa35e7f</id>
<content type='text'>
Now that we have a custom printf format specifier, convert users of
full_name to use %pOF instead. This is preparation to remove storing
of the full path string for each node.

Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
Cc: Dirk Eibach &lt;eibach@gdsys.de&gt;
Cc: Jean Delvare &lt;jdelvare@suse.com&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: (ads1015) move header file out of I2C realm</title>
<updated>2017-06-12T00:08:19+00:00</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@the-dreams.de</email>
</author>
<published>2017-05-21T20:34:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9010624cc5b446d3377dde4753eecbaf945f3a41'/>
<id>urn:sha1:9010624cc5b446d3377dde4753eecbaf945f3a41</id>
<content type='text'>
include/linux/i2c is not for client devices. Move the header file to a
more appropriate location.

Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ads1015) Add OF device ID table</title>
<updated>2017-04-02T14:01:53+00:00</updated>
<author>
<name>Javier Martinez Canillas</name>
<email>javier@osg.samsung.com</email>
</author>
<published>2017-02-24T13:12:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a140986fd0708607dbbd6321386964e44fef59a2'/>
<id>urn:sha1:a140986fd0708607dbbd6321386964e44fef59a2</id>
<content type='text'>
The driver doesn't have a struct of_device_id table but supported devices
are registered via Device Trees. This is working on the assumption that a
I2C device registered via OF will always match a legacy I2C device ID and
that the MODALIAS reported will always be of the form i2c:&lt;device&gt;.

But this could change in the future so the correct approach is to have an
OF device ID table if the devices are registered via OF.

Signed-off-by: Javier Martinez Canillas &lt;javier@osg.samsung.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ads1015) Handle negative conversion values correctly</title>
<updated>2016-02-19T03:14:04+00:00</updated>
<author>
<name>Peter Rosin</name>
<email>peda@axentia.se</email>
</author>
<published>2016-02-18T13:07:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=acc146943957d7418a6846f06e029b2c5e87e0d5'/>
<id>urn:sha1:acc146943957d7418a6846f06e029b2c5e87e0d5</id>
<content type='text'>
Make the divisor signed as DIV_ROUND_CLOSEST is undefined for negative
dividends when the divisor is unsigned.

Signed-off-by: Peter Rosin &lt;peda@axentia.se&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ads1015) Use of_property_read_u32 at appropriate places</title>
<updated>2014-09-22T18:14:51+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2014-08-05T02:56:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8e35762fd5f2b074cff3e5c176c80008c70cc8f3'/>
<id>urn:sha1:8e35762fd5f2b074cff3e5c176c80008c70cc8f3</id>
<content type='text'>
Simplify the code a bit and also improve readability.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ads1015) Fix out-of-bounds array access</title>
<updated>2014-08-06T00:49:01+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2014-08-05T01:59:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e981429557cbe10c780fab1c1a237cb832757652'/>
<id>urn:sha1:e981429557cbe10c780fab1c1a237cb832757652</id>
<content type='text'>
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;
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ads1015) Fix off-by-one for valid channel index checking</title>
<updated>2014-07-30T03:27:10+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2014-07-30T03:13:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=56de1377ad92f72ee4e5cb0faf7a9b6048fdf0bf'/>
<id>urn:sha1:56de1377ad92f72ee4e5cb0faf7a9b6048fdf0bf</id>
<content type='text'>
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;
Cc: stable@vger.kernel.org
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ads1015) Add support for ADS1115</title>
<updated>2013-08-12T05:10:40+00:00</updated>
<author>
<name>Evgeniy Dushistov</name>
<email>dushistov@mail.ru</email>
</author>
<published>2013-08-01T19:23:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=60c1f31fc5dfdbef388f47739e14c3cd85ad17e2'/>
<id>urn:sha1:60c1f31fc5dfdbef388f47739e14c3cd85ad17e2</id>
<content type='text'>
This patch adds support for ads1115 device to ads1015 driver.
Based on work of Emiliano Carnati &lt;carnatiatebneuro.com&gt;.
Tested on ARM CPU based board.

Signed-off-by: Evgeniy A. Dushistov &lt;dushistov@mail.ru&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ads1015) Convert to use devm_ functions</title>
<updated>2012-09-24T04:08:30+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2012-06-02T16:58:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=57457e314eefc7bce93854918a234e4ac9a52922'/>
<id>urn:sha1:57457e314eefc7bce93854918a234e4ac9a52922</id>
<content type='text'>
Convert to use devm_ functions to reduce code size and simplify the code.

Cc: Dirk Eibach &lt;eibach@gdsys.de&gt;
Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
</content>
</entry>
<entry>
<title>hwmon: (ads1015) Fix build warning</title>
<updated>2012-04-18T18:15:50+00:00</updated>
<author>
<name>Guenter Roeck</name>
<email>guenter.roeck@ericsson.com</email>
</author>
<published>2012-04-09T17:53:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1196573fe493aeeb826468157313ee84ffbc59f3'/>
<id>urn:sha1:1196573fe493aeeb826468157313ee84ffbc59f3</id>
<content type='text'>
The following build warning is seen in some configurations.

drivers/hwmon/ads1015.c: In function 'show_in':
drivers/hwmon/ads1015.c:129: warning: 'in' may be used uninitialized in this function

Fix by separating the register read function from the code converting the result
into mV.

Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Cc: Dirk Eibach &lt;eibach@gdsys.de&gt;
Reviewed-by: Robert Coulson &lt;robert.coulson@ericsson.com&gt;
</content>
</entry>
</feed>
