<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/iio, branch v3.10.35</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/iio?h=v3.10.35</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/iio?h=v3.10.35'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2014-03-07T05:30:11Z</updated>
<entry>
<title>iio:gyro: bug on L3GD20H gyroscope support</title>
<updated>2014-03-07T05:30:11Z</updated>
<author>
<name>Denis CIOCCA</name>
<email>denis.ciocca@st.com</email>
</author>
<published>2014-02-14T14:15:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=55c830e876d6604276110ac406802417d443c08b'/>
<id>urn:sha1:55c830e876d6604276110ac406802417d443c08b</id>
<content type='text'>
commit a0657716416f834ef7710a9044614d50a36c3bdc upstream.

The driver was not able to manage the sensor: during probe function
and wai check, the driver stops and writes: "device name and WhoAmI mismatch."
The correct value of L3GD20H wai is 0xd7 instead of 0xd4.
Dropped support for the sensor.

Signed-off-by: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>iio: adis16400: Set timestamp as the last element in chan_spec</title>
<updated>2014-02-22T20:41:27Z</updated>
<author>
<name>Marcus Folkesson</name>
<email>marcus.folkesson@gmail.com</email>
</author>
<published>2014-01-24T11:24:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=016085b4fe767ae73637585369104058493ffd72'/>
<id>urn:sha1:016085b4fe767ae73637585369104058493ffd72</id>
<content type='text'>
commit c76782d151dab7ecfdcdf9a01561c2d61d9b490f upstream.

This is necessary since timestamp is calculated as the last element
in iio_compute_scan_bytes().

Without this fix any userspace code reading the layout of the buffer via
sysfs will incorrectly interpret the data leading some nasty corruption.

Signed-off-by: Marcus Folkesson &lt;marcus.folkesson@gmail.com&gt;
Acked-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>iio:adc:ad7887 Fix channel reported endianness from cpu to big endian</title>
<updated>2014-01-09T20:24:20Z</updated>
<author>
<name>Jonathan Cameron</name>
<email>jic23@kernel.org</email>
</author>
<published>2013-12-11T18:45:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3cb9bc507add4a5fe635b5cb5dfb228b5c44cf86'/>
<id>urn:sha1:3cb9bc507add4a5fe635b5cb5dfb228b5c44cf86</id>
<content type='text'>
commit e39d99059ad7f75d7ae2d3c59055d3c476cdb0d9 upstream.

Note this also sets the endianness to big endian whereas it would
previously have defaulted to the cpu endian.  Hence technically
this is a bug fix on LE platforms.

Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Acked-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>iio:imu:adis16400 fix pressure channel scan type</title>
<updated>2014-01-09T20:24:20Z</updated>
<author>
<name>Jonathan Cameron</name>
<email>jic23@kernel.org</email>
</author>
<published>2013-12-11T18:45:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3c24f339917b1eceb423c6a39f4807d58ef679fe'/>
<id>urn:sha1:3c24f339917b1eceb423c6a39f4807d58ef679fe</id>
<content type='text'>
commit 3425c0f7ac61f2fcfb7f2728e9b7ba7e27aec429 upstream.

A single channel in this driver was using the IIO_ST macro.
This does not provide a parameter for setting the endianness of
the channel.  Thus this channel will have been reported as whatever
is the native endianness of the cpu rather than big endian. This
means it would be incorrect on little endian platforms.

Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Acked-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>iio:accel:kxsd9 fix missing mutex unlock</title>
<updated>2013-12-04T18:57:16Z</updated>
<author>
<name>Frank Zago</name>
<email>frank@zago.net</email>
</author>
<published>2013-11-13T22:53:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1a2d670b28befe626d50a39af579da44ecd22245'/>
<id>urn:sha1:1a2d670b28befe626d50a39af579da44ecd22245</id>
<content type='text'>
commit 0ee005c7dc2803125275e24598f0fb37775a6af3 upstream.

This will leave a lock held after reading from the device, preventing
any further reads.

Signed-off-by: Frank Zago &lt;frank@zago.net&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>iio: inkern: fix iio_convert_raw_to_processed_unlocked</title>
<updated>2013-07-25T21:07:23Z</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2013-07-01T16:40:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=79d295ce5b9c322ebb40b2d7fdb9da4eee83f893'/>
<id>urn:sha1:79d295ce5b9c322ebb40b2d7fdb9da4eee83f893</id>
<content type='text'>
commit f91d1b63a4e096d3023aaaafec9d9d3aff25997f upstream.

When reading IIO_CHAN_INFO_OFFSET, the return value of iio_channel_read() for
success will be IIO_VAL*, checking for 0 is not correct.

Without this fix the offset applied by iio drivers will be ignored when
converting a raw value to one in appropriate base units (e.g mV) in
a IIO client drivers that use iio_convert_raw_to_processed including
iio-hwmon.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>iio:inkern: Fix typo/bug in convert raw to processed.</title>
<updated>2013-06-04T17:46:45Z</updated>
<author>
<name>Michael Hennerich</name>
<email>michael.hennerich@analog.com</email>
</author>
<published>2013-06-03T08:04:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6c5d4c96f979611f0165dc825af9e1cea8dd35b9'/>
<id>urn:sha1:6c5d4c96f979611f0165dc825af9e1cea8dd35b9</id>
<content type='text'>
Signed-off-by: Michael Hennerich &lt;michael.hennerich@analog.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: frequency: ad4350: Fix bug / typo in mask</title>
<updated>2013-06-04T17:35:26Z</updated>
<author>
<name>Michael Hennerich</name>
<email>michael.hennerich@analog.com</email>
</author>
<published>2013-06-03T13:30:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2eb3a81eef0510511a3211bb3da560f446a8c8de'/>
<id>urn:sha1:2eb3a81eef0510511a3211bb3da560f446a8c8de</id>
<content type='text'>
Signed-off-by: Michael Hennerich &lt;michael.hennerich@analog.com&gt;
Reviewed-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>inkern: iio_device_put after incorrect return/goto</title>
<updated>2013-06-04T17:28:21Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2013-06-04T14:44:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e916b80d2b1988e985abc0a1c85eca5b96c61f48'/>
<id>urn:sha1:e916b80d2b1988e985abc0a1c85eca5b96c61f48</id>
<content type='text'>
The code uses

    return foo;
    goto err_type;

when instead the form should have been

    ret = foo;
    goto err_type;

Here this causes a useful iio_device_put to be skipped.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio:callback buffer: free the scan_mask</title>
<updated>2013-06-04T17:19:30Z</updated>
<author>
<name>Jonathan Cameron</name>
<email>jic23@kernel.org</email>
</author>
<published>2013-05-22T21:41:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=702df9f1819c7fc7e257251fabc5eec674342c32'/>
<id>urn:sha1:702df9f1819c7fc7e257251fabc5eec674342c32</id>
<content type='text'>
Reported-by: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
</feed>
