<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/git/stable/linux-stable.git/drivers/iio/light, branch linux-6.10.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<id>https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/atom?h=linux-6.10.y</id>
<link rel='self' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/atom?h=linux-6.10.y'/>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/'/>
<updated>2024-06-29T17:51:25+00:00</updated>
<entry>
<title>iio: light: apds9306: Fix error handing</title>
<updated>2024-06-29T17:51:25+00:00</updated>
<author>
<name>Mudit Sharma</name>
<email>muditsharma.info@gmail.com</email>
</author>
<published>2024-06-25T21:02:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=1a5cba43096c9242fab503a40b053ec6b93d313a'/>
<id>urn:sha1:1a5cba43096c9242fab503a40b053ec6b93d313a</id>
<content type='text'>
The return value of 'iio_gts_find_int_time_by_sel()' is assigned to
variable 'intg_old' but value of 'ret' is checked for error. Update to
use 'intg_old' for error checking.

Fixes: 620d1e6c7a3f ("iio: light: Add support for APDS9306 Light Sensor")
Signed-off-by: Mudit Sharma &lt;muditsharma.info@gmail.com&gt;
Reviewed-by: Subhajit Ghosh &lt;subhajit.ghosh@tweaklogic.com&gt;
Link: https://patch.msgid.link/20240625210203.522179-1-muditsharma.info@gmail.com
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: light: stk3310: Drop most likely fake ACPI ID</title>
<updated>2024-04-29T19:53:25+00:00</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2024-04-15T14:18:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=62de5e3e31a863000beccc25d6fa65c6ac2cedb8'/>
<id>urn:sha1:62de5e3e31a863000beccc25d6fa65c6ac2cedb8</id>
<content type='text'>
The commit in question does not proove that ACPI ID exists.
Quite likely it was a cargo cult addition while doint that
for DT-based enumeration.  Drop most likely fake ACPI ID.

Googling for STK3335 gives no useful results in regard to DSDT.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20240415141852.853490-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: light: apds9306: Fix input arguments to in_range()</title>
<updated>2024-04-28T11:46:53+00:00</updated>
<author>
<name>Subhajit Ghosh</name>
<email>subhajit.ghosh@tweaklogic.com</email>
</author>
<published>2024-04-27T09:09:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=0d8d62640763edfc11cc8568fe2115ad5af4e67e'/>
<id>urn:sha1:0d8d62640763edfc11cc8568fe2115ad5af4e67e</id>
<content type='text'>
Third input argument to in_range() function requires the number of
values in range, not the last value in that range. Update macro for
persistence and adaptive threshold to reflect number of values
supported instead of the maximum values supported.

Fixes: 620d1e6c7a3f ("iio: light: Add support for APDS9306 Light Sensor")
Signed-off-by: Subhajit Ghosh &lt;subhajit.ghosh@tweaklogic.com&gt;
Link: https://lore.kernel.org/r/20240427090914.37274-1-subhajit.ghosh@tweaklogic.com
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: light: apds9306: Improve apds9306_write_event_config()</title>
<updated>2024-04-06T15:52:45+00:00</updated>
<author>
<name>Subhajit Ghosh</name>
<email>subhajit.ghosh@tweaklogic.com</email>
</author>
<published>2024-04-05T10:46:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=85795d3eddeb5f0e3e11caad24cc78f6c43d7fd1'/>
<id>urn:sha1:85795d3eddeb5f0e3e11caad24cc78f6c43d7fd1</id>
<content type='text'>
Simplify event configuration flow.

Suggested-by: Jonathan Cameron &lt;jic23@kernel.org&gt;
Link: https://lore.kernel.org/all/20240310124237.52fa8a56@jic23-huawei/
Signed-off-by: Subhajit Ghosh &lt;subhajit.ghosh@tweaklogic.com&gt;
Link: https://lore.kernel.org/r/20240405104641.29478-1-subhajit.ghosh@tweaklogic.com
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: light: apds9306: Fix off by one in apds9306_sampling_freq_get()</title>
<updated>2024-04-06T15:41:27+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@linaro.org</email>
</author>
<published>2024-04-04T07:31:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=c8e2d4873902c58ee14d3eb5138f516ba963e7d9'/>
<id>urn:sha1:c8e2d4873902c58ee14d3eb5138f516ba963e7d9</id>
<content type='text'>
The &gt; comparison needs to be &gt;= to prevent an out of bounds access.

Fixes: 620d1e6c7a3f ("iio: light: Add support for APDS9306 Light Sensor")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@linaro.org&gt;
Reviewed-by: Subhajit Ghosh &lt;subhajit.ghosh@tweaklogic.com&gt;
Link: https://lore.kernel.org/r/69c5cb83-0209-40ff-a276-a0ae5e81c528@moroto.mountain
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: light: Add support for APDS9306 Light Sensor</title>
<updated>2024-03-25T20:10:12+00:00</updated>
<author>
<name>Subhajit Ghosh</name>
<email>subhajit.ghosh@tweaklogic.com</email>
</author>
<published>2024-03-09T10:50:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=620d1e6c7a3fcc54c641f091e07b9040f13def19'/>
<id>urn:sha1:620d1e6c7a3fcc54c641f091e07b9040f13def19</id>
<content type='text'>
Driver support for Avago (Broadcom) APDS9306 Ambient Light Sensor.
It has two channels - ALS and CLEAR. The ALS (Ambient Light Sensor)
channel approximates the response of the human-eye providing direct
read out where the output count is proportional to ambient light levels.
It is internally temperature compensated and rejects 50Hz and 60Hz flicker
caused by artificial light sources. Hardware interrupt configuration is
optional. It is a low power device with 20 bit resolution and has
configurable adaptive interrupt mode and interrupt persistence mode.
The device also features inbuilt hardware gain, multiple integration time
selection options and sampling frequency selection options.

This driver also uses the IIO GTS (Gain Time Scale) Helpers Namespace for
Scales, Gains and Integration time implementation.

Signed-off-by: Subhajit Ghosh &lt;subhajit.ghosh@tweaklogic.com&gt;
Link: https://lore.kernel.org/r/20240309105031.10313-6-subhajit.ghosh@tweaklogic.com
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>io: light: st_uvis25: drop casting to void in dev_set_drvdata</title>
<updated>2024-03-25T20:10:12+00:00</updated>
<author>
<name>Javier Carrasco</name>
<email>javier.carrasco.cruz@gmail.com</email>
</author>
<published>2024-03-03T22:34:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=ba7352d019e7814fec475f429207a70b54e66e11'/>
<id>urn:sha1:ba7352d019e7814fec475f429207a70b54e66e11</id>
<content type='text'>
The C standard specifies that there is no need to cast from a pointer to
void [1]. Therefore, it can be safely dropped.

[1] C Standard Committee: https://c0x.shape-of-code.com/6.3.2.3.html

Signed-off-by: Javier Carrasco &lt;javier.carrasco.cruz@gmail.com&gt;
Link: https://lore.kernel.org/r/20240303-void_in_dev_set_drvdata-v1-2-ae39027d740b@gmail.com
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: light: al3010: Switch from linux/of.h to linux/mod_devicetable.h</title>
<updated>2024-02-28T19:26:35+00:00</updated>
<author>
<name>Jonathan Cameron</name>
<email>Jonathan.Cameron@huawei.com</email>
</author>
<published>2024-02-18T17:33:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=a5d8684fe50e2dfe59556e30996e942081759cbd'/>
<id>urn:sha1:a5d8684fe50e2dfe59556e30996e942081759cbd</id>
<content type='text'>
The only of specific definition used is of_device_id table and that
is found in mod_devicetable.h not of.h

Reviewed-by: Nuno Sa &lt;nuno.sa@analog.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20240218173323.1023703-4-jic23@kernel.org
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: light: al3320a: Drop unused linux/of.h include</title>
<updated>2024-02-28T19:26:35+00:00</updated>
<author>
<name>Jonathan Cameron</name>
<email>Jonathan.Cameron@huawei.com</email>
</author>
<published>2024-02-18T17:33:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=c7618c4fcecd3b95ff24221d3d898a058af8de9e'/>
<id>urn:sha1:c7618c4fcecd3b95ff24221d3d898a058af8de9e</id>
<content type='text'>
Nothing from linux/of.h used in this driver.

Reviewed-by: Nuno Sa &lt;nuno.sa@analog.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20240218173323.1023703-3-jic23@kernel.org
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: light: vl6180: Drop unused linux/of.h include</title>
<updated>2024-02-28T19:26:34+00:00</updated>
<author>
<name>Jonathan Cameron</name>
<email>Jonathan.Cameron@huawei.com</email>
</author>
<published>2024-02-18T17:33:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rulkc.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=d0dc99c0ae00f8187f40278ec72fde4f32869599'/>
<id>urn:sha1:d0dc99c0ae00f8187f40278ec72fde4f32869599</id>
<content type='text'>
Nothing from linux/of.h is used in this driver.

Reviewed-by: Nuno Sa &lt;nuno.sa@analog.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20240218173323.1023703-2-jic23@kernel.org
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
</feed>
