<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/iio/light, branch master</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=master</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2026-02-23T08:24:37Z</updated>
<entry>
<title>iio: light: bh1780: fix PM runtime leak on error path</title>
<updated>2026-02-23T08:24:37Z</updated>
<author>
<name>Antoniu Miclaus</name>
</author>
<published>2026-01-30T11:30:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dd72e6c3cdea05cad24e99710939086f7a113fb5'/>
<id>urn:sha1:dd72e6c3cdea05cad24e99710939086f7a113fb5</id>
<content type='text'>
Move pm_runtime_put_autosuspend() before the error check to ensure
the PM runtime reference count is always decremented after
pm_runtime_get_sync(), regardless of whether the read operation
succeeds or fails.

Fixes: 1f0477f18306 ("iio: light: new driver for the ROHM BH1780")
Signed-off-by: Antoniu Miclaus &lt;antoniu.miclaus@analog.com&gt;
Reviewed-by: Linus Walleij &lt;linusw@kernel.org&gt;
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: Use IRQF_NO_THREAD</title>
<updated>2026-01-29T16:10:44Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
</author>
<published>2026-01-28T09:55:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=04d390af97f2c28166f7ddfe1a6bda622e3a4766'/>
<id>urn:sha1:04d390af97f2c28166f7ddfe1a6bda622e3a4766</id>
<content type='text'>
The interrupt handler iio_trigger_generic_data_rdy_poll() will invoke
other interrupt handler and this supposed to happen from within the
hardirq.

Use IRQF_NO_THREAD to forbid forced-threading.

Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: light: opt4060: Use IIO cleanup helpers</title>
<updated>2026-01-22T20:53:17Z</updated>
<author>
<name>Kurt Borja</name>
</author>
<published>2026-01-20T06:20:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8284a498541623414abc616450371b08f24a4aac'/>
<id>urn:sha1:8284a498541623414abc616450371b08f24a4aac</id>
<content type='text'>
Use IIO_DEV_GUARD_CURRENT_MODE() cleanup helper to simplify and drop
busy-waiting code in opt4060_set_driver_state().

Reviewed-by: David Lechner &lt;dlechner@baylibre.com&gt;
Reviewed-by: Nuno Sá &lt;nuno.sa@analog.com&gt;
Signed-off-by: Kurt Borja &lt;kuurtb@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: light: vcnl4000: Use IIO cleanup helpers</title>
<updated>2026-01-22T20:53:17Z</updated>
<author>
<name>Kurt Borja</name>
</author>
<published>2026-01-20T06:20:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a3fe0fc9e623352ccf65650cb31c4309f853d1d'/>
<id>urn:sha1:6a3fe0fc9e623352ccf65650cb31c4309f853d1d</id>
<content type='text'>
Use IIO_DEV_ACQUIRE_DIRECT_MODE() helper to automatically release direct
mode.

Reviewed-by: David Lechner &lt;dlechner@baylibre.com&gt;
Reviewed-by: Nuno Sá &lt;nuno.sa@analog.com&gt;
Signed-off-by: Kurt Borja &lt;kuurtb@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: core: Match iio_device_claim_*() semantics and implementation</title>
<updated>2026-01-22T20:53:17Z</updated>
<author>
<name>Kurt Borja</name>
</author>
<published>2026-01-20T06:20:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2daee817df13fb539be01a6a8094d52667d402f6'/>
<id>urn:sha1:2daee817df13fb539be01a6a8094d52667d402f6</id>
<content type='text'>
Implement iio_device_claim_buffer_mode() fully inline with the use of
__iio_dev_mode_lock(), which takes care of sparse annotations.

To completely match iio_device_claim_direct() semantics, we need to
also change iio_device_claim_buffer_mode() return semantics to usual
true/false conditional lock semantics.

Additionally, to avoid silently breaking out-of-tree drivers, rename
iio_device_claim_buffer_mode() to iio_device_claim_try_buffer_mode().

Reviewed-by: David Lechner &lt;dlechner@baylibre.com&gt;
Reviewed-by: Nuno Sá &lt;nuno.sa@analog.com&gt;
Signed-off-by: Kurt Borja &lt;kuurtb@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: light: isl29018: replace sprintf() with safer alternatives</title>
<updated>2025-12-21T11:41:12Z</updated>
<author>
<name>Tomas Borquez</name>
</author>
<published>2025-11-26T20:32:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5a306a64bf790ed084601d7f3e89d5dc4a18a5c2'/>
<id>urn:sha1:5a306a64bf790ed084601d7f3e89d5dc4a18a5c2</id>
<content type='text'>
This patch replaces sprintf() with sysfs_emit() and sysfs_emit_at() safer
alternative with no functional changes.

Signed-off-by: Tomas Borquez &lt;tomasborquez13@gmail.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@intel.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: light: apds9960: convert to use maple tree register cache</title>
<updated>2025-11-09T12:57:05Z</updated>
<author>
<name>Chu Guangqing</name>
</author>
<published>2025-10-24T07:38:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=698dcf54282a221588281b2e1e6107707cc61f37'/>
<id>urn:sha1:698dcf54282a221588281b2e1e6107707cc61f37</id>
<content type='text'>
The maple tree register cache is based on a much more modern data structure
than the rbtree cache and makes optimisation choices which are probably
more appropriate for modern systems than those made by the rbtree cache.

Signed-off-by: Chu Guangqing &lt;chuguangqing@inspur.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: light: apds9306: convert to use maple tree register cache</title>
<updated>2025-11-09T12:57:05Z</updated>
<author>
<name>Chu Guangqing</name>
</author>
<published>2025-10-24T07:38:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=52d182b2ff99d5e50e763ad5a5a874da3b49434f'/>
<id>urn:sha1:52d182b2ff99d5e50e763ad5a5a874da3b49434f</id>
<content type='text'>
The maple tree register cache is based on a much more modern data structure
than the rbtree cache and makes optimisation choices which are probably
more appropriate for modern systems than those made by the rbtree cache.

Signed-off-by: Chu Guangqing &lt;chuguangqing@inspur.com&gt;
Acked-by: Subhajit Ghosh &lt;subhajit.ghosh@tweaklogic.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: light: veml3235: convert to use maple tree register cache</title>
<updated>2025-11-09T12:57:05Z</updated>
<author>
<name>Chu Guangqing</name>
</author>
<published>2025-10-24T07:38:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=00d3bd9e3f7166220838d7065e52bffc85b871df'/>
<id>urn:sha1:00d3bd9e3f7166220838d7065e52bffc85b871df</id>
<content type='text'>
The maple tree register cache is based on a much more modern data structure
than the rbtree cache and makes optimisation choices which are probably
more appropriate for modern systems than those made by the rbtree cache.

Signed-off-by: Chu Guangqing &lt;chuguangqing@inspur.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: light: ltr390: Fix typo in variable name</title>
<updated>2025-10-19T10:59:17Z</updated>
<author>
<name>Sameeksha Sankpal</name>
</author>
<published>2025-10-03T17:44:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=67f31f0b5f27ed10cb7976c8140c52b0235e3d68'/>
<id>urn:sha1:67f31f0b5f27ed10cb7976c8140c52b0235e3d68</id>
<content type='text'>
Corrected a spelling mistake in the ltr390 driver:
'recieve_buffer' was renamed to 'receive_buffer'.

This improves code readibility without changing functionality.

Signed-off-by: Sameeksha Sankpal &lt;sameekshasankpal@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
</feed>
