<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/iio/common, branch v3.9</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/iio/common?h=v3.9</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/iio/common?h=v3.9'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-03-05T18:14:13Z</updated>
<entry>
<title>iio:common:st_sensors fixed all warning messages about uninitialized variables</title>
<updated>2013-03-05T18:14:13Z</updated>
<author>
<name>Denis CIOCCA</name>
<email>denis.ciocca@st.com</email>
</author>
<published>2013-02-26T10:43:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=852afe99fc1c2d2b1376e49f128a3b929e811f2d'/>
<id>urn:sha1:852afe99fc1c2d2b1376e49f128a3b929e811f2d</id>
<content type='text'>
Signed-off-by: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Reported-by: Fengguang Wu &lt;fengguang.wu@intel.com&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.amat.us/linux/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: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.amat.us/linux/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>
<entry>
<title>Merge branch 'staging-linus' into staging-next</title>
<updated>2013-01-07T23:17:52Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2013-01-07T23:17:52Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=17cb3be61b45d716f6b21a9380925493413ce0ed'/>
<id>urn:sha1:17cb3be61b45d716f6b21a9380925493413ce0ed</id>
<content type='text'>
This is to get the comedi fixes, and resolve the issue in comdi_test.c
and comedi_fops.c that were caused by changes in both branches.

It also allows the fwserial driver changes to be applied, as they
required the fixes that are in staging-linus.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>hid: iio: rename struct hid_sensor_iio_common to hid_sensor_common</title>
<updated>2013-01-06T11:48:11Z</updated>
<author>
<name>Alexander Holler</name>
<email>holler@ahsoftware.de</email>
</author>
<published>2012-12-15T12:45:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e07c6d170ccec9e7377a43a2999b87b860c642e9'/>
<id>urn:sha1:e07c6d170ccec9e7377a43a2999b87b860c642e9</id>
<content type='text'>
The structure with common attributes for hid-sensors isn't specific
to the iio-subsystem, so rename it to hid_sensor_common.

Signed-off-by: Alexander Holler &lt;holler@ahsoftware.de&gt;
Acked-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: merge hid-sensor-attributes.h into hid-sensor-hub.h</title>
<updated>2013-01-06T11:43:37Z</updated>
<author>
<name>Alexander Holler</name>
<email>holler@ahsoftware.de</email>
</author>
<published>2012-12-15T12:45:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2974cdf293e1cb00860522624252aeaba502c8bf'/>
<id>urn:sha1:2974cdf293e1cb00860522624252aeaba502c8bf</id>
<content type='text'>
The stuff in hid-sensor-attributes.h is needed by every piece which
uses hid-sensor-hub and merging it into hid-sensor-hub.h makes it accessible
from outside the iio subdirectory.

Signed-off-by: Alexander Holler &lt;holler@ahsoftware.de&gt;
Acked-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: hid-sensors: respect CONFIG_IIO_TRIGGER</title>
<updated>2012-12-27T10:59:50Z</updated>
<author>
<name>Alexander Holler</name>
<email>holler@ahsoftware.de</email>
</author>
<published>2012-12-11T18:21:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9541cc39a6381b76dac30c8e05078eb0a543f113'/>
<id>urn:sha1:9541cc39a6381b76dac30c8e05078eb0a543f113</id>
<content type='text'>
Not much to say, without that change, hid-sensor-trigger will be
always compiled if HID_SENSOR_IIO_COMMON is selected which fails if
CONFIG_IIO_TRIGGER is not set because CONFIG_IIO_CONSUMERS_PER_TRIGGER
will not be defined.

Signed-off-by: Alexander Holler &lt;holler@ahsoftware.de&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: hid-sensors: convert HID_SENSOR_ENUM_BASE_QUIRKS to bool</title>
<updated>2012-11-17T10:15:41Z</updated>
<author>
<name>Kirill A. Shutemov</name>
<email>kirill.shutemov@linux.intel.com</email>
</author>
<published>2012-10-22T07:57:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=69bcd3bf40228239db91b075f56f9ba511f0bfe1'/>
<id>urn:sha1:69bcd3bf40228239db91b075f56f9ba511f0bfe1</id>
<content type='text'>
It's non-sense to use tristate for the option, it's bool.

Signed-off-by: Kirill A. Shutemov &lt;kirill.shutemov@linux.intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: hid-sensors: Prevent crash during hot-unplug</title>
<updated>2012-09-22T09:07:34Z</updated>
<author>
<name>Srinivas Pandruvada</name>
<email>srinivas.pandruvada@linux.intel.com</email>
</author>
<published>2012-09-20T00:15:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f07b60b7c34b771431f1d00e783f29a3667ff5ee'/>
<id>urn:sha1:f07b60b7c34b771431f1d00e783f29a3667ff5ee</id>
<content type='text'>
When hid sensor hub is unplugged, there is a crash in
iio_device_unregister_trigger_consumer.
In a typical IIO driver when remove is called, it will unregister and free
trigger and then it will call iio_device_free.
The function iio_trigger_free() will free the allocated memory for trigger.
If this trigger was assigned to iio_dev-&gt;trig, then it should be set to NULL.
Othewise when iio_device_free() is called later, it finally calls
iio_device_unregsister_trigger(), which checks for
       if (indio_dev-&gt;trig)
                iio_trigger_put(indio_dev-&gt;trig);
If indio_dev-&gt;trig is not set to NULL, it calls iio_trigger_put on a bad
pointer causing crash.
This scenerio can happen in any driver, which is storing trigger pointer in
iio_dev structure and following current procedure during remove.

Signed-off-by: Srinivas Pandruvada &lt;srinivas.pandruvada@linux.intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: hid-sensors: Common attribute and trigger</title>
<updated>2012-09-06T18:20:11Z</updated>
<author>
<name>srinivas pandruvada</name>
<email>srinivas.pandruvada@intel.com</email>
</author>
<published>2012-09-05T12:56:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=73c6768b710a1621903f2bc179ae9c7789d41e9f'/>
<id>urn:sha1:73c6768b710a1621903f2bc179ae9c7789d41e9f</id>
<content type='text'>
This patch contains the common code, which is used by all HID sensors.
There are some common set of attributes, which every hid sensor
needs it. This patch contains all such attributes processing.
Also the trigger interface is common among all HID sensors. This
patch contains common trigger functions utilized by all HID sensors.

Signed-off-by: srinivas pandruvada &lt;srinivas.pandruvada@intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
</feed>
