<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xavi/android_kernel_m2note/drivers/iio/accel, branch ng-7.1.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://gitea.privatedns.org/xavi/android_kernel_m2note/atom?h=ng-7.1.2</id>
<link rel='self' href='https://gitea.privatedns.org/xavi/android_kernel_m2note/atom?h=ng-7.1.2'/>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/android_kernel_m2note/'/>
<updated>2018-12-11T15:03:50+00:00</updated>
<entry>
<title>iio:st sensors: remove custom sampling frequence attribute in favour of core support.</title>
<updated>2018-12-11T15:03:50+00:00</updated>
<author>
<name>Jonathan Cameron</name>
<email>jic23@kernel.org</email>
</author>
<published>2014-06-22T19:59:00+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/android_kernel_m2note/commit/?id=cad3ff52bc408fcf4b153800add83e195759dfbc'/>
<id>urn:sha1:cad3ff52bc408fcf4b153800add83e195759dfbc</id>
<content type='text'>
This allows in kernel client drivers to access this

Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Cc: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Reviewed-by: Hartmut Knaack &lt;knaack.h@gmx.de&gt;
Signed-off-by: Moyster &lt;oysterized@gmail.com&gt;

omitted pressure driver changes (missing in this kernel)
</content>
</entry>
<entry>
<title>iio:st_sensors: Fix oops when probing SPI devices</title>
<updated>2018-12-11T15:02:26+00:00</updated>
<author>
<name>Alban Bedel</name>
<email>alban.bedel@avionic-design.de</email>
</author>
<published>2015-04-20T11:57:18+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/android_kernel_m2note/commit/?id=eb579791923041fa8e2f4bce226651bdf2c47088'/>
<id>urn:sha1:eb579791923041fa8e2f4bce226651bdf2c47088</id>
<content type='text'>
In SPI mode the transfer buffer is locked with a mutex. However this
mutex is only initilized after the probe, but some transfer needs to
be done in the probe.

To fix this bug we move the mutex initialization at the beginning of
the device probe.

Signed-off-by: Alban Bedel &lt;alban.bedel@avionic-design.de&gt;
Acked-by: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Moyster &lt;oysterized@gmail.com&gt;

omitted pressure driver changes (missing in this kernel)
</content>
</entry>
<entry>
<title>iio: st_sensors: announce registered sensors</title>
<updated>2018-12-11T14:51:11+00:00</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2014-04-13T19:08:00+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/android_kernel_m2note/commit/?id=c1db4f7e3bfb83e1f30bd1366e7a923c7667e79e'/>
<id>urn:sha1:c1db4f7e3bfb83e1f30bd1366e7a923c7667e79e</id>
<content type='text'>
It is pretty helpful to know already from dmesg that a certain
device is successfully registered, instead of having to browse
sysfs to see if it's actually there.

Cc: Lee Jones &lt;lee.jones@linaro.org&gt;
Cc: Denis CIOCCA &lt;denis.ciocca@st.com&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Moyster &lt;oysterized@gmail.com&gt;

omitted pressure driver changes (missing in this kernel)
</content>
</entry>
<entry>
<title>iio:accel: Register buffer also without specific trigger</title>
<updated>2018-12-11T14:51:11+00:00</updated>
<author>
<name>Denis CIOCCA</name>
<email>denis.ciocca@st.com</email>
</author>
<published>2013-09-18T09:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/android_kernel_m2note/commit/?id=0165a2a210cdbe7de579b6d3a6021195db858c83'/>
<id>urn:sha1:0165a2a210cdbe7de579b6d3a6021195db858c83</id>
<content type='text'>
This patch fix buffer registration that allows to use generic IIO trigger.

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: accel-core: st: Clean up error handling in probe()</title>
<updated>2018-12-11T14:51:11+00:00</updated>
<author>
<name>Lee Jones</name>
<email>lee.jones@linaro.org</email>
</author>
<published>2013-09-16T16:02:00+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/android_kernel_m2note/commit/?id=37bbc32a81015e2f36360e45b5cb0d35e34c1744'/>
<id>urn:sha1:37bbc32a81015e2f36360e45b5cb0d35e34c1744</id>
<content type='text'>
Reduce the amount of those unnecessary goto calls, as in most cases
we can simply return immediately. We also only call for the IRQ number
once and use that value throughout.

Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: accel: st_accel: Use devm_iio_device_alloc</title>
<updated>2018-12-11T14:51:11+00:00</updated>
<author>
<name>Sachin Kamat</name>
<email>sachin.kamat@linaro.org</email>
</author>
<published>2013-07-23T06:47:00+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/android_kernel_m2note/commit/?id=c0b1f2c842172b32cc149a800f766bc82f961c8b'/>
<id>urn:sha1:c0b1f2c842172b32cc149a800f766bc82f961c8b</id>
<content type='text'>
Using devm_iio_device_alloc makes code simpler.

Signed-off-by: Sachin Kamat &lt;sachin.kamat@linaro.org&gt;
Cc: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio: Added ST-sensors platform data to select the DRDY interrupt pin</title>
<updated>2018-12-11T14:51:10+00:00</updated>
<author>
<name>Denis CIOCCA</name>
<email>denis.ciocca@st.com</email>
</author>
<published>2013-06-19T08:28:00+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/android_kernel_m2note/commit/?id=7d50fd24b838382683fa08bc07475f38d2a388f2'/>
<id>urn:sha1:7d50fd24b838382683fa08bc07475f38d2a388f2</id>
<content type='text'>
This patch add support to redirect the DRDY interrupt on INT1 or INT2
on accelerometer and pressure sensors.

Signed-off-by: Denis Ciocca &lt;denis.ciocca@st.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Moyster &lt;oysterized@gmail.com&gt;

omitted pressure drivers changes (missing on this kernel)
</content>
</entry>
<entry>
<title>iio:common: Removed stuff macros, added num_data_channels on st_sensors struct and added support on one-shot sysfs reads to 3 byte channel</title>
<updated>2018-12-11T14:51:10+00:00</updated>
<author>
<name>Denis CIOCCA</name>
<email>denis.ciocca@st.com</email>
</author>
<published>2013-06-03T14:58:00+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/android_kernel_m2note/commit/?id=8040f192ec6353c290185de7e7666f43398f131f'/>
<id>urn:sha1:8040f192ec6353c290185de7e7666f43398f131f</id>
<content type='text'>
This patch introduce num_data_channels variable on st_sensors struct
to manage different type of channels (size or number) in
st_sensors_get_buffer_element function.
Removed ST_SENSORS_NUMBER_DATA_CHANNELS and ST_SENSORS_BYTE_FOR_CHANNEL
and used struct iio_chan_spec const *ch to catch data.
Added 3 byte channel data support on one-shot reads.

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: ST_SENSORS_LSM_CHANNELS macro changed</title>
<updated>2018-12-11T14:51:10+00:00</updated>
<author>
<name>Denis CIOCCA</name>
<email>denis.ciocca@st.com</email>
</author>
<published>2013-06-03T14:58:00+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/android_kernel_m2note/commit/?id=d8f658cb33572bb5d48b41dd22b16a3e24be8c46'/>
<id>urn:sha1:d8f658cb33572bb5d48b41dd22b16a3e24be8c46</id>
<content type='text'>
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: accel: kxsd9: Fix scaling bug</title>
<updated>2017-04-11T08:58:27+00:00</updated>
<author>
<name>Linus Walleij</name>
<email>linus.walleij@linaro.org</email>
</author>
<published>2016-09-01T09:44:35+00:00</published>
<link rel='alternate' type='text/html' href='https://gitea.privatedns.org/xavi/android_kernel_m2note/commit/?id=3fe9195484a4214b733dfec12c45ba0cbeaa0173'/>
<id>urn:sha1:3fe9195484a4214b733dfec12c45ba0cbeaa0173</id>
<content type='text'>
commit 307fe9dd11ae44d4f8881ee449a7cbac36e1f5de upstream.

All the scaling of the KXSD9 involves multiplication with a
fraction number &lt; 1.

However the scaling value returned from IIO_INFO_SCALE was
unpredictable as only the micros of the value was assigned, and
not the integer part, resulting in scaling like this:

$cat in_accel_scale
-1057462640.011978

Fix this by assigning zero to the integer part.

Tested-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Signed-off-by: Willy Tarreau &lt;w@1wt.eu&gt;
</content>
</entry>
</feed>
