<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/iio, branch v3.9.11</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.9.11</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.9.11'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2013-03-02T16:31:21Z</updated>
<entry>
<title>iio: Fix build error seen if IIO_TRIGGER is defined but IIO_BUFFER is not</title>
<updated>2013-03-02T16:31:21Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2013-03-01T15:57:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5a4d729139b4e94f670288a3505657311f95c886'/>
<id>urn:sha1:5a4d729139b4e94f670288a3505657311f95c886</id>
<content type='text'>
If CONFIG_IIO_TRIGGER is defined but CONFIG_IIO_BUFFER is not, the following
build error is seen.

drivers/iio/common/st_sensors/st_sensors_trigger.c:21:5: error:
redefinition of ‘st_sensors_allocate_trigger’
In file included from
drivers/iio/common/st_sensors/st_sensors_trigger.c:18:0:
include/linux/iio/common/st_sensors.h:239:19: note: previous
definition of ‘st_sensors_allocate_trigger’ was here
drivers/iio/common/st_sensors/st_sensors_trigger.c:65:6: error:
redefinition of ‘st_sensors_deallocate_trigger’
In file included from
drivers/iio/common/st_sensors/st_sensors_trigger.c:18:0:
include/linux/iio/common/st_sensors.h:244:20: note: previous
definition of ‘st_sensors_deallocate_trigger’ was here

This occurs because st_sensors_deallocate_trigger is built if CONFIG_IIO_TRIGGER
is defined, but the dummy function is compiled if CONFIG_IIO_BUFFER is defined.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Acked-by: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio:triggers Protect functions in triggers.h from use when not compiled</title>
<updated>2013-02-09T15:22:14Z</updated>
<author>
<name>Jonathan Cameron</name>
<email>jic23@kernel.org</email>
</author>
<published>2013-02-09T10:49:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=aaa300262c5912bda34c9cf871719209eae01b06'/>
<id>urn:sha1:aaa300262c5912bda34c9cf871719209eae01b06</id>
<content type='text'>
Also include a couple of forward defs of struct iio_trigger and struct
iio_trigger_ops to avoid doing this in each driver.

Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Reported-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Acked-by: Denis Ciocca &lt;denis.ciocca@st.com&gt;
</content>
</entry>
<entry>
<title>iio:common: added allocate and deallocate trigger functions when trigger is disabled.</title>
<updated>2013-02-09T10:44:44Z</updated>
<author>
<name>Denis CIOCCA</name>
<email>denis.ciocca@st.com</email>
</author>
<published>2013-02-07T09:46:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=91ffbabfd9ae6b9bfef02bb1e0fbba451c7289a7'/>
<id>urn:sha1:91ffbabfd9ae6b9bfef02bb1e0fbba451c7289a7</id>
<content type='text'>
This patch resolve a bugfix when driver is compiled without trigger.

Signed-off-by: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Reported-by: Randy Dunlap  &lt;rdunlap@infradead.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: Update iio_channel_get API to use consumer device pointer as argument</title>
<updated>2013-02-06T19:23:52Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2013-02-04T20:26:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5aa57f0a655276f62683c0cc714cd6328d98e08a'/>
<id>urn:sha1:5aa57f0a655276f62683c0cc714cd6328d98e08a</id>
<content type='text'>
For iio_channel_get to work with OF based configurations, it needs the
consumer device pointer instead of the consumer device name as argument.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Acked-by: Anton Vorontsov &lt;anton@enomsg.org&gt;
Acked-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: Simplify iio_map_array_unregister API</title>
<updated>2013-02-02T12:02:20Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2013-01-31T21:43:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6cb2afd7c0abb93bd9dc6d36b858b1e312e2407d'/>
<id>urn:sha1:6cb2afd7c0abb93bd9dc6d36b858b1e312e2407d</id>
<content type='text'>
Instead of requiring the map to unregister, simply unregister all map entries
associated with the given iio device. This simplifies map removal and also works
for maps generated through devicetree.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: Update iio_channel_get_all and iio_channel_get_all_cb API</title>
<updated>2013-02-02T11:58:46Z</updated>
<author>
<name>Guenter Roeck</name>
<email>linux@roeck-us.net</email>
</author>
<published>2013-01-31T21:43:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ca7d98dbd7db6aa8bc4b08e26be1249436d21af3'/>
<id>urn:sha1:ca7d98dbd7db6aa8bc4b08e26be1249436d21af3</id>
<content type='text'>
Pass device pointer instead of device name as parameter to iio_channel_get_all
and iio_channel_get_all_cb. This will enable us to use OF information to
retrieve consumer channel information.

Signed-off-by: Guenter Roeck &lt;linux@roeck-us.net&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio:common: removed unused functions outside st_sensors library</title>
<updated>2013-02-02T09:37:54Z</updated>
<author>
<name>Denis CIOCCA</name>
<email>denis.ciocca@st.com</email>
</author>
<published>2013-01-30T09:15:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=4d2e4fc224d0d5e56fdb0baa7cd135d1557b0a25'/>
<id>urn:sha1:4d2e4fc224d0d5e56fdb0baa7cd135d1557b0a25</id>
<content type='text'>
This patch remove st_sensors_get_sampling_frequency_avl and
st_sensors_get_scale_avl functions used only in
st_sensors_sysfs_sampling_frequency_avail and st_sensors_sysfs_scale_avail
sysfs functions.

Signed-off-by: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: gyro: Add itg3200</title>
<updated>2013-02-02T09:33:33Z</updated>
<author>
<name>Manuel Stahl</name>
<email>manuel.stahl@iis.fraunhofer.de</email>
</author>
<published>2013-02-01T08:51:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=9dbf091da080508e9f632d307f357beb79a0766b'/>
<id>urn:sha1:9dbf091da080508e9f632d307f357beb79a0766b</id>
<content type='text'>
This patch adds support for the InvenSense itg3200.
The itg3200 is a three-axis gyro with 16-bit ADC and
I2C interface.

Signed-off-by: Manuel Stahl &lt;manuel.stahl@iis.fraunhofer.de&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>staging:iio: Remove noop call to __iio_update_buffer</title>
<updated>2013-01-31T17:56:44Z</updated>
<author>
<name>Lars-Peter Clausen</name>
<email>lars@metafoo.de</email>
</author>
<published>2013-01-28T10:12:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=999517f6742b4ca4692c041752afc4298fbbf0da'/>
<id>urn:sha1:999517f6742b4ca4692c041752afc4298fbbf0da</id>
<content type='text'>
__iio_update_buffer updates the buffer's bytes_per_datum and length fields.
But the only user of this function just passes in these exact fields, so the
call basically looks like this:

	buffer-&gt;bytes_per_datum = buffer-&gt;bytes_per_datum;
	buffer-&gt;length = buffer-&gt;length;

Which means it is a noop and can be removed. Also remove the function itself,
since it is now unused.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio:common: Add STMicroelectronics common library</title>
<updated>2013-01-31T17:56:43Z</updated>
<author>
<name>Denis Ciocca</name>
<email>denis.ciocca@gmail.com</email>
</author>
<published>2013-01-25T23:44:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=23491b513bcd3dfe4ddb94547d73d9deb94eda44'/>
<id>urn:sha1:23491b513bcd3dfe4ddb94547d73d9deb94eda44</id>
<content type='text'>
This patch add a generic library for STMicroelectronics 3-axis sensors.

Signed-off-by: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Reviewed-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
</feed>
