<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/iio/proximity, branch linux-4.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-08-15T14:39:27Z</updated>
<entry>
<title>iio: proximity: as3935: set up buffer timestamps for non-zero values</title>
<updated>2016-08-15T14:39:27Z</updated>
<author>
<name>Alison Schofield</name>
</author>
<published>2016-07-11T15:26:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f8adf645db03345af2d9a8b6095b02327ea50885'/>
<id>urn:sha1:f8adf645db03345af2d9a8b6095b02327ea50885</id>
<content type='text'>
Use the iio_pollfunc_store_time parameter during triggered buffer
set-up to get valid timestamps.

Signed-off-by: Alison Schofield &lt;amsfield22@gmail.com&gt;
Cc: Daniel Baluta &lt;daniel.baluta@gmail.com&gt;
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio:core: timestamping clock selection support</title>
<updated>2016-06-30T18:41:38Z</updated>
<author>
<name>Gregor Boirie</name>
</author>
<published>2016-03-09T18:05:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bc2b7dab629a51e8beb5fda4222c62a23b729f26'/>
<id>urn:sha1:bc2b7dab629a51e8beb5fda4222c62a23b729f26</id>
<content type='text'>
Adds a new per-device sysfs attribute "current_timestamp_clock" to allow
userspace to select a particular POSIX clock for buffered samples and
events timestamping.

Following clocks, as listed in clock_gettime(2), are supported:
CLOCK_REALTIME, CLOCK_MONOTONIC, CLOCK_MONOTONIC_RAW,
CLOCK_REALTIME_COARSE, CLOCK_MONOTONIC_COARSE, CLOCK_BOOTTIME and
CLOCK_TAI.

Signed-off-by: Gregor Boirie &lt;gregor.boirie@parrot.com&gt;
Acked-by: Sanchayan Maity &lt;maitysanchayan@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'iio-for-4.8b' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-next</title>
<updated>2016-06-29T22:35:01Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2016-06-29T22:35:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3c9a6793bde1feb368cd6ef113c08a40a37f7517'/>
<id>urn:sha1:3c9a6793bde1feb368cd6ef113c08a40a37f7517</id>
<content type='text'>
Jonathan writes:

Second round of new iio device support, features and cleanups in the 4.8 cycle

Firstly some contact detail updates:
* NXP took over freescale. Update the mma8452 header to reflect this.
* Martin Kepplinger email address change in mma8452 header.
* Adriana Reus has changed email address. Update .mailmap.
* Matt Ranostay has changed email address. Update .mailmap.

New Device Support
* max1363
  - add the missing i2c_device_ids for a couple of parts so they can actually
    be used.
* ms5867
  - add device ids for ms5805 and ms5837 parts.

New Features
* ad5755
  - DT support.  This one was a bit controversial and under review for a long
    time.  Still no one could come up with a better solution.
* stx104
  - add gpio support
* ti-adc081c
  - Add ACPI device ID matching.

Core changes
* Refuse to register triggers with duplicate names.  There is no way to
  distinguish between them so this makes no sense.  A few drivers do not
  generate unique names for each instance of the device present.  We can't
  fix this without changing ABI so leave them and wait for someone to
  actually take the rare step of two identical accelerometers on the same
  board.
* buffer-dma
  - use ARRAY_SIZE in a few appropriate locations.

Tools
* Fix the fact that the --trigger-num option in generic_buffer didn't allow
  0 which is perfectly valid in the ABI.

Cleanups
* as3935
  - improve error reporting.
  - remove redundant zeroing of a field in iio_priv.
* gp2ap020a00f
  - use the iio_device_claim_*_mode helpers rather than open coding locking
  around mode changes.
* isl29125
  - use the iio_device_claim_*_mode helpers rather than open coding locking.
* lidar
  - use the iio_device_claim_*_mode helpers rather than open coding locking.
* mma8452
  - more detail in devices supported description in comments (addresses and
  similar)
* sca3000
  - add a missing error check.
* tcs3414
  - use the iio_device_claim_*_mode helpers rather than open coding locking.
* tcs3472
  - use the iio_device_claim_*_mode helpers rather than open coding locking.
</content>
</entry>
<entry>
<title>iio: proximity: as3935: remove redundant zeroing of tune_cap</title>
<updated>2016-06-27T19:59:12Z</updated>
<author>
<name>Matt Ranostay</name>
</author>
<published>2016-06-16T01:47:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d462b85e727d482e6fa95252b909f3fce6851e0'/>
<id>urn:sha1:4d462b85e727d482e6fa95252b909f3fce6851e0</id>
<content type='text'>
This is redundant as the containing stucture is allocated as part of
iio_device_alloc using kzalloc and hence is already 0.

Signed-off-by: Matt Ranostay &lt;mranostay@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: as3935: improve error reporting in as3935_event_work</title>
<updated>2016-06-27T19:59:10Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2016-05-30T14:52:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=22ed1a1c1cceebff380b3f6f84d520a0b398509a'/>
<id>urn:sha1:22ed1a1c1cceebff380b3f6f84d520a0b398509a</id>
<content type='text'>
gcc warns about a potentially uninitialized variable use
in as3935_event_work:

drivers/iio/proximity/as3935.c: In function ‘as3935_event_work’:
drivers/iio/proximity/as3935.c:231:6: error: ‘val’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

This case specifically happens when spi_w8r8() fails with a
negative return code. We check all other users of this function
except this one.

As the error is rather unlikely to happen after the device
has already been initialized, this just adds a dev_warn().
Another warning already exists in the same function, but is
missing a trailing '\n' character, so I'm fixing that too.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Reviewed-by: Matt Ranostay &lt;mranostay@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge 4.7-rc4 into staging-next</title>
<updated>2016-06-20T15:25:44Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2016-06-20T15:25:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=af52739b922f656eb1f39016fabaabe4baeda2e2'/>
<id>urn:sha1:af52739b922f656eb1f39016fabaabe4baeda2e2</id>
<content type='text'>
We want the fixes in here, and we can resolve a merge issue in
drivers/iio/industrialio-trigger.c

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>iio: proximity: lidar: switch to iio_device_claim_*_mode helpers</title>
<updated>2016-06-11T16:08:20Z</updated>
<author>
<name>Matt Ranostay</name>
</author>
<published>2016-06-08T04:18:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9e18265443d3a76462eafc3a0863c217aeaf62ac'/>
<id>urn:sha1:9e18265443d3a76462eafc3a0863c217aeaf62ac</id>
<content type='text'>
Switch from using indio_dev-&gt;mlock to the iio_device_claim_*_mode
helper functions.

Signed-off-by: Matt Ranostay &lt;mranostay@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: proximity: as3935: remove redundant MODULE_ALIAS</title>
<updated>2016-05-29T19:09:43Z</updated>
<author>
<name>Matt Ranostay</name>
</author>
<published>2016-05-24T06:27:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=90e9a9500f16e60bf96c95cd6b74f84d56e12ef0'/>
<id>urn:sha1:90e9a9500f16e60bf96c95cd6b74f84d56e12ef0</id>
<content type='text'>
MODULE_ALIAS isn't needed since the module name is the same as the alias
defined.

Signed-off-by: Matt Ranostay &lt;mranostay@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: proximity: as3935: fix buffer stack trashing</title>
<updated>2016-05-22T19:54:15Z</updated>
<author>
<name>Matt Ranostay</name>
</author>
<published>2016-05-22T03:01:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=37b1ba2c68cfbe37f5f45bb91bcfaf2b016ae6a1'/>
<id>urn:sha1:37b1ba2c68cfbe37f5f45bb91bcfaf2b016ae6a1</id>
<content type='text'>
Buffer wasn't of a valid size to allow the timestamp, and correct padding.
This patchset also moves the buffer off the stack, and onto the heap.

Cc: george.mccollister@gmail.com
Signed-off-by: Matt Ranostay &lt;mranostay@gmail.com&gt;
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: proximity: as3935: remove triggered buffer processing</title>
<updated>2016-05-22T19:53:53Z</updated>
<author>
<name>Matt Ranostay</name>
</author>
<published>2016-05-22T03:01:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d0643634ea567969bf3f3ed6193a9d6fc75653b'/>
<id>urn:sha1:7d0643634ea567969bf3f3ed6193a9d6fc75653b</id>
<content type='text'>
Triggered buffers shouldn't return processed data, and the respective
conversion was overflowing the defined .realbits for the channel.

Cc: george.mccollister@gmail.com
Signed-off-by: Matt Ranostay &lt;mranostay@gmail.com&gt;
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
</feed>
