<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux.git/drivers/iio/pressure/ms5611.h, branch master</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=master</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/'/>
<updated>2022-12-28T17:19:45+00:00</updated>
<entry>
<title>iio: pressure: ms5611: Switch to fully devm_ managed registration.</title>
<updated>2022-12-28T17:19:45+00:00</updated>
<author>
<name>Jonathan Cameron</name>
<email>Jonathan.Cameron@huawei.com</email>
</author>
<published>2022-10-16T16:34:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=caa6693e408eb87169ac18db6073a326829ce7ad'/>
<id>urn:sha1:caa6693e408eb87169ac18db6073a326829ce7ad</id>
<content type='text'>
All the remaining calls in probe() have devm_ equivalents so
switching to those allows the remove() callbacks to be deleted.
No functional change.

Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Cc: Tomasz Duszynski &lt;tduszyns@gmail.com&gt;
Reviewed-by: Matti Vaittinen &lt;mazziesaccount@gmail.com&gt;
Link: https://lore.kernel.org/r/20221016163409.320197-15-jic23@kernel.org
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: pressure: ms5611: Use devm_regulator_get_enable()</title>
<updated>2022-12-28T17:19:45+00:00</updated>
<author>
<name>Jonathan Cameron</name>
<email>Jonathan.Cameron@huawei.com</email>
</author>
<published>2022-10-16T16:34:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=122ef59a2a16e4542705913b905d841704e239e9'/>
<id>urn:sha1:122ef59a2a16e4542705913b905d841704e239e9</id>
<content type='text'>
This driver only turns the power on at probe and off at remove.
The new devm_regulator_get_enable() replaces this boilerplate code.
Some additional refactoring to drop now unnecessary unwinding after
this change.

Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
Cc: Tomasz Duszynski &lt;tduszyns@gmail.com&gt;
Reviewed-by: Matti Vaittinen &lt;mazziesaccount@gmail.com&gt;
Link: https://lore.kernel.org/r/20221016163409.320197-14-jic23@kernel.org
</content>
</entry>
<entry>
<title>iio: pressure: ms5611: fixed value compensation bug</title>
<updated>2022-10-29T11:37:45+00:00</updated>
<author>
<name>Mitja Spes</name>
<email>mitja@lxnav.com</email>
</author>
<published>2022-10-21T13:58:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=17f442e7e47579d3881fc4d47354eaef09302e6f'/>
<id>urn:sha1:17f442e7e47579d3881fc4d47354eaef09302e6f</id>
<content type='text'>
When using multiple instances of this driver the compensation PROM was
overwritten by the last initialized sensor. Now each sensor has own PROM
storage.

Signed-off-by: Mitja Spes &lt;mitja@lxnav.com&gt;
Fixes: 9690d81a02dc ("iio: pressure: ms5611: add support for MS5607 temperature and pressure sensor")
Link: https://lore.kernel.org/r/20221021135827.1444793-2-mitja@lxnav.com
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: ms5611: Simplify IO callback parameters</title>
<updated>2021-11-17T17:51:33+00:00</updated>
<author>
<name>Lars-Peter Clausen</name>
<email>lars@metafoo.de</email>
</author>
<published>2021-10-20T14:21:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=dc19fa63ad80a636fdbc1a02153d1ab140cb901f'/>
<id>urn:sha1:dc19fa63ad80a636fdbc1a02153d1ab140cb901f</id>
<content type='text'>
The ms5611 passes &amp;indio_dev-&gt;dev as a parameter to all its IO callbacks
only to directly cast the struct device back to struct iio_dev. And the
struct iio_dev is then only used to get the drivers state struct.

Simplify this a bit by passing the state struct directly. This makes it a
bit easier to follow what the code is doing.

Signed-off-by: Lars-Peter Clausen &lt;lars@metafoo.de&gt;
Link: https://lore.kernel.org/r/20211020142110.7060-1-lars@metafoo.de
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: pressure: ms5611: Make ms5611_remove() return void</title>
<updated>2021-10-19T07:30:46+00:00</updated>
<author>
<name>Uwe Kleine-König</name>
<email>u.kleine-koenig@pengutronix.de</email>
</author>
<published>2021-10-13T20:32:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f840cbed7a7c48a89ff64f7e34c3b41adb4158c6'/>
<id>urn:sha1:f840cbed7a7c48a89ff64f7e34c3b41adb4158c6</id>
<content type='text'>
Up to now ms5611_remove() returns zero unconditionally. Make it return
void instead which makes it easier to see in the callers that there is
no error to handle.

Also the return value of i2c and spi remove callbacks is ignored anyway.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Reviewed-by: Alexandru Ardelean &lt;ardeleanalex@gmail.com&gt;
Link: https://lore.kernel.org/r/20211013203223.2694577-16-u.kleine-koenig@pengutronix.de
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: pressure: ms5611: switch to SPDX identifier</title>
<updated>2018-09-08T14:04:02+00:00</updated>
<author>
<name>Tomasz Duszynski</name>
<email>tduszyns@gmail.com</email>
</author>
<published>2018-09-01T19:52:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=6cfdb150e3fca6cd84a79116451071d6f3759946'/>
<id>urn:sha1:6cfdb150e3fca6cd84a79116451071d6f3759946</id>
<content type='text'>
Drop boilerplate license text and use SPDX identifier instead.

Signed-off-by: Tomasz Duszynski &lt;tduszyns@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio:pressure:ms5611: Fix coding style in probe function</title>
<updated>2018-02-17T12:41:44+00:00</updated>
<author>
<name>rodrigosiqueira</name>
<email>rodrigosiqueiramelo@gmail.com</email>
</author>
<published>2018-02-16T19:44:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1482705087b820a3b7019cc9d8a7c760b8999994'/>
<id>urn:sha1:1482705087b820a3b7019cc9d8a7c760b8999994</id>
<content type='text'>
This patch fixes the checkpatch.pl warning and error:

iio/pressure/ms5611.h:66: ERROR: code indent should use tabs where possible
iio/pressure/ms5611.h:66: WARNING: please, no spaces at the start of a line
iio/pressure/ms5611.h:66: ERROR: "foo* bar" should be "foo *bar"

Signed-off-by: Rodrigo Siqueira &lt;rodrigosiqueiramelo@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio:pressure:ms5611: fix missing regulator_disable</title>
<updated>2016-03-20T11:02:40+00:00</updated>
<author>
<name>Gregor Boirie</name>
<email>gregor.boirie@parrot.com</email>
</author>
<published>2016-03-17T11:55:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=334ecdd0ba45bb68bce0f1429a4a1e9584ba437e'/>
<id>urn:sha1:334ecdd0ba45bb68bce0f1429a4a1e9584ba437e</id>
<content type='text'>
Ensure optional regulator is properly disabled when present.

Fixes: 3145229f9191 ("iio:pressure:ms5611: power regulator support")
Signed-off-by: Gregor Boirie &lt;gregor.boirie@parrot.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio:pressure:ms5611: oversampling rate support</title>
<updated>2016-03-05T14:45:14+00:00</updated>
<author>
<name>Gregor Boirie</name>
<email>gregor.boirie@parrot.com</email>
</author>
<published>2016-03-01T10:31:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=033691a9a12f684c68f443f3676806dd64011295'/>
<id>urn:sha1:033691a9a12f684c68f443f3676806dd64011295</id>
<content type='text'>
Add support for setting and retrieving OverSampling Rate independently for
each of the temperature and pressure channels. This allows userspace to
fine tune hardware sampling process according to the following tradeoffs :
* the higher the OSR, the finer the resolution ;
* the higher the OSR, the lower the noise ;
BUT:
* the higher the OSR, the larger the drift ;
* the higher the OSR, the longer the response time, i.e. less samples per
  unit of time.

Signed-off-by: Gregor Boirie &lt;gregor.boirie@parrot.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
<entry>
<title>iio:pressure:ms5611: use probed device name</title>
<updated>2016-02-24T20:40:46+00:00</updated>
<author>
<name>Grégor Boirie</name>
<email>gregor.boirie@parrot.com</email>
</author>
<published>2016-02-17T17:52:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=eac635ebad41b4fa960386fd0b042764f275b4d4'/>
<id>urn:sha1:eac635ebad41b4fa960386fd0b042764f275b4d4</id>
<content type='text'>
Use name of probed device instead of driver's one when registering device.

Signed-off-by: Gregor Boirie &lt;gregor.boirie@parrot.com&gt;
Signed-off-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
</content>
</entry>
</feed>
