<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/staging/iio, branch v4.11.5</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v4.11.5</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v4.11.5'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2017-01-28T12:22:07+00:00</updated>
<entry>
<title>Staging: iio: adc: ad7816: fix symbolic permissions coding style issue</title>
<updated>2017-01-28T12:22:07+00:00</updated>
<author>
<name>Julián de Gortari</name>
<email>kiototeko@gmail.com</email>
</author>
<published>2017-01-23T18:08:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7f47d56c5b05006892a5e3e9d122b19c358e86ef'/>
<id>urn:sha1:7f47d56c5b05006892a5e3e9d122b19c358e86ef</id>
<content type='text'>
Octal permissions should be used instead of symbolic ones for easier
reading.

Signed-off-by: Julián de Gortari &lt;kiototeko@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>drivers:staging:iio:cdc: Style fix.</title>
<updated>2017-01-28T12:17:45+00:00</updated>
<author>
<name>Anthony Brandon</name>
<email>anthony@amarulasolutions.com</email>
</author>
<published>2017-01-23T13:14:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=349ee0402c4be95ef6cb2f89f0fa7fb0ee81b5bb'/>
<id>urn:sha1:349ee0402c4be95ef6cb2f89f0fa7fb0ee81b5bb</id>
<content type='text'>
Align parameters to parentheses.

Signed-off-by: Anthony Brandon &lt;anthony@amarulasolutions.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: trigger: free trigger resource correctly</title>
<updated>2017-01-22T16:14:21+00:00</updated>
<author>
<name>Alison Schofield</name>
<email>amsfield22@gmail.com</email>
</author>
<published>2017-01-20T03:47:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=10e840dfb0b7fc345082dd9e5fff3c1c02e7690e'/>
<id>urn:sha1:10e840dfb0b7fc345082dd9e5fff3c1c02e7690e</id>
<content type='text'>
These stand-alone trigger drivers were using iio_trigger_put()
where they should have been using iio_trigger_free().  The
iio_trigger_put() adds a module_put which is bad since they
never did a module_get.

In the sysfs driver, module_get/put's are used as triggers are
added &amp; removed. This extra module_put() occurs on an error path
in the probe routine (probably rare).

In the bfin-timer &amp; interrupt trigger drivers, the module resources
are not explicitly managed, so it's doing a put on something that
was never get'd.  It occurs on the probe error path and on the
remove path (not so rare).

Tested with the sysfs trigger driver.
The bfin &amp; interrupt drivers were build tested &amp; inspected only.

Signed-off-by: Alison Schofield &lt;amsfield22@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>staging: iio: isl29028: add runtime power management support</title>
<updated>2017-01-22T13:21:40+00:00</updated>
<author>
<name>Brian Masney</name>
<email>masneyb@onstation.org</email>
</author>
<published>2017-01-17T09:25:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8'/>
<id>urn:sha1:2db5054ac28d4ab2eaa6c67e2d9f61fa5ba006b8</id>
<content type='text'>
This patch adds runtime power management support to the isl29028 driver.
It defaults to powering off the device after two seconds of inactivity.

isl29028_chip_init_and_power_on() currently only zeros the CONFIGURE
register on the chip, which will cause the chip to turn off. This patch
also renames that function to isl29028_clear_configure_reg() since it is
now used in several places.

Signed-off-by: Brian Masney &lt;masneyb@onstation.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>staging: iio: isl29028: only set ALS scale when ALS/IR sensing is enabled</title>
<updated>2017-01-22T13:21:39+00:00</updated>
<author>
<name>Brian Masney</name>
<email>masneyb@onstation.org</email>
</author>
<published>2017-01-17T09:25:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0fac96ed50d1bb6a0ce8dd44b94d3643a0dc3c91'/>
<id>urn:sha1:0fac96ed50d1bb6a0ce8dd44b94d3643a0dc3c91</id>
<content type='text'>
isl29028_chip_init_and_power_on() calls isl29028_set_als_scale() and
this is not needed until the user actually needs to take a reading from
the ALS/IR sensor. This patch moves the isl29028_set_als_scale() call
from isl29028_chip_init_and_power_on() to isl29028_set_als_ir_mode().
This sets the stage for faster resume times from runtime power
management if the user is only querying the proximity sensor.

Signed-off-by: Brian Masney &lt;masneyb@onstation.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>staging: iio: isl29028: only set proximity sampling rate when proximity is enabled</title>
<updated>2017-01-22T13:21:38+00:00</updated>
<author>
<name>Brian Masney</name>
<email>masneyb@onstation.org</email>
</author>
<published>2017-01-17T09:25:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=84a76694bc17dd31eed84ab2fae857f18909da42'/>
<id>urn:sha1:84a76694bc17dd31eed84ab2fae857f18909da42</id>
<content type='text'>
isl29028_chip_init_and_power_on() calls isl29028_set_proxim_sampling()
and this is not needed until the user actually needs to take a proximity
reading. This patch moves the isl29028_set_proxim_sampling() call from
isl29028_chip_init_and_power_on() to isl29028_enable_proximity().
This sets the stage for faster resume times from the runtime power
management if the user is only querying the ALS/IR sensor.

Signed-off-by: Brian Masney &lt;masneyb@onstation.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>staging: iio: isl29028: remove enable flag from isl29028_enable_proximity()</title>
<updated>2017-01-22T13:21:38+00:00</updated>
<author>
<name>Brian Masney</name>
<email>masneyb@onstation.org</email>
</author>
<published>2017-01-17T09:24:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6766342441cbf286940f2c44b5cc869fa5a57046'/>
<id>urn:sha1:6766342441cbf286940f2c44b5cc869fa5a57046</id>
<content type='text'>
isl29028_enable_proximity() has a boolean argument named enable. This
function is only called once and the enable flag is set to true in that
call. This patch removes the enable parameter from that function.

Signed-off-by: Brian Masney &lt;masneyb@onstation.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>staging: iio: isl29028: remove unnecessary parenthesis</title>
<updated>2017-01-22T13:21:37+00:00</updated>
<author>
<name>Brian Masney</name>
<email>masneyb@onstation.org</email>
</author>
<published>2017-01-17T09:24:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=71a0a643468e96caad4f0aa48d1041f319f3ba83'/>
<id>urn:sha1:71a0a643468e96caad4f0aa48d1041f319f3ba83</id>
<content type='text'>
isl29028_write_raw() contains unnecessary parenthesis when checking to
see if the passed in lux scale is valid. This patch removes the
unnecessary parenthesis.

Signed-off-by: Brian Masney &lt;masneyb@onstation.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>staging: iio: isl29028: remove out of memory log message</title>
<updated>2017-01-22T13:21:37+00:00</updated>
<author>
<name>Brian Masney</name>
<email>masneyb@onstation.org</email>
</author>
<published>2017-01-17T09:24:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=8c93940268065a69c08ae6bc3bc6165ba45cac71'/>
<id>urn:sha1:8c93940268065a69c08ae6bc3bc6165ba45cac71</id>
<content type='text'>
If the call to devm_iio_device_alloc() fails, then isl29028_probe()
logs a message saying that memory cannot be allocated. The user's system
most likely has larger issues at this point. This patch removes that
error message since the error code is passed on and the message is not
necessary.

Signed-off-by: Brian Masney &lt;masneyb@onstation.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>staging: iio: isl29028: remove unnecessary error logging in isl29028_chip_init_and_power_on()</title>
<updated>2017-01-22T13:21:36+00:00</updated>
<author>
<name>Brian Masney</name>
<email>masneyb@onstation.org</email>
</author>
<published>2017-01-17T09:24:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=65ac716b2013b97d68dbec4be0b5fb01a16efe7e'/>
<id>urn:sha1:65ac716b2013b97d68dbec4be0b5fb01a16efe7e</id>
<content type='text'>
If the call to isl29028_chip_init_and_power_on() in isl29028_probe()
fails, then isl29028_probe() will log an error message. All of the
error paths in that call path already have error logging in place. This
patch removes the unnecessary logging.

Signed-off-by: Brian Masney &lt;masneyb@onstation.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
</feed>
