<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/iio/proximity, branch v7.0.10</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v7.0.10</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v7.0.10'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2026-03-14T11:15:32+00:00</updated>
<entry>
<title>iio: proximity: rfd77402: Fix completion race condition in IRQ mode</title>
<updated>2026-03-14T11:15:32+00:00</updated>
<author>
<name>Felix Gu</name>
<email>ustc.gu@gmail.com</email>
</author>
<published>2026-03-04T14:14:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=9978d74031f25fde575bef3e4e3e35c5009091ce'/>
<id>urn:sha1:9978d74031f25fde575bef3e4e3e35c5009091ce</id>
<content type='text'>
In IRQ mode, the completion was being reinitialized after the
measurement command had already been sent to the hardware. This
created a race condition where the IRQ handler could call complete()
before reinit_completion() was executed. Consequently,
wait_for_completion_timeout() would fail to see the signal and wait
until it timed out.

Move reinit_completion() to occur before the measurement command is
triggered to ensure the synchronization primitive is ready to
capture the interrupt.

Fixes: dc81be96a73a ("iio: proximity: rfd77402: Add interrupt handling support")
Signed-off-by: Felix Gu &lt;ustc.gu@gmail.com&gt;
Reviewed-by: Shrikant Raskar &lt;raskar.shree97@gmail.com&gt;
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: proximity: hx9023s: Protect against division by zero in set_samp_freq</title>
<updated>2026-02-23T08:24:38+00:00</updated>
<author>
<name>Yasin Lee</name>
<email>yasin.lee.x@gmail.com</email>
</author>
<published>2026-02-13T15:14:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a318cfc0853706f1d6ce682dba660bc455d674ef'/>
<id>urn:sha1:a318cfc0853706f1d6ce682dba660bc455d674ef</id>
<content type='text'>
Avoid division by zero when sampling frequency is unspecified.

Fixes: 60df548277b7 ("iio: proximity: Add driver support for TYHX's HX9023S capacitive proximity sensor")
Signed-off-by: Yasin Lee &lt;yasin.lee.x@gmail.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@intel.com&gt;
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: proximity: hx9023s: fix assignment order for __counted_by</title>
<updated>2026-02-23T08:24:38+00:00</updated>
<author>
<name>Yasin Lee</name>
<email>yasin.lee.x@gmail.com</email>
</author>
<published>2026-02-13T15:14:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=585b90c0161ab77416fe3acdbdc55b978e33e16c'/>
<id>urn:sha1:585b90c0161ab77416fe3acdbdc55b978e33e16c</id>
<content type='text'>
Initialize fw_size before copying firmware data into the flexible
array member to match the __counted_by() annotation. This fixes the
incorrect assignment order that triggers runtime safety checks.

Fixes: e9ed97be4fcc ("iio: proximity: hx9023s: Added firmware file parsing functionality")
Signed-off-by: Yasin Lee &lt;yasin.lee.x@gmail.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@intel.com&gt;
Cc: &lt;Stable@vger.kernel.org&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: proximity: rfd77402: Add interrupt handling support</title>
<updated>2026-01-29T17:50:08+00:00</updated>
<author>
<name>Shrikant Raskar</name>
<email>raskar.shree97@gmail.com</email>
</author>
<published>2026-01-28T17:51:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=dc81be96a73a67d47da336497b888529c73d389b'/>
<id>urn:sha1:dc81be96a73a67d47da336497b888529c73d389b</id>
<content type='text'>
Add interrupt handling support to enable event-driven data acquisition
instead of continuous polling. This improves responsiveness, reduces
CPU overhead, and supports low-power operation by allowing the system
to remain idle until an interrupt occurs.

Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@intel.com&gt;
Signed-off-by: Shrikant Raskar &lt;raskar.shree97@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: proximity: rfd77402: Document device private data structure</title>
<updated>2026-01-29T17:49:00+00:00</updated>
<author>
<name>Shrikant Raskar</name>
<email>raskar.shree97@gmail.com</email>
</author>
<published>2026-01-28T17:51:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=53516b6fdec09cb202ebf52b841cb25599f93688'/>
<id>urn:sha1:53516b6fdec09cb202ebf52b841cb25599f93688</id>
<content type='text'>
Add kernel-doc style comments for struct rfd77402_data to describe
the purpose of each member.

Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@intel.com&gt;
Signed-off-by: Shrikant Raskar &lt;raskar.shree97@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: proximity: rfd77402: Use devm-managed mutex initialization</title>
<updated>2026-01-29T17:48:45+00:00</updated>
<author>
<name>Shrikant Raskar</name>
<email>raskar.shree97@gmail.com</email>
</author>
<published>2026-01-28T17:51:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=dff4bdff074e1f92874676bed57970d19e3a86bd'/>
<id>urn:sha1:dff4bdff074e1f92874676bed57970d19e3a86bd</id>
<content type='text'>
Use devm_mutex_init() to tie the mutex lifetime to the device and
improve debugging when CONFIG_DEBUG_MUTEXES is enabled.

Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@intel.com&gt;
Signed-off-by: Shrikant Raskar &lt;raskar.shree97@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: proximity: rfd77402: Use kernel helper for result polling</title>
<updated>2026-01-29T17:47:56+00:00</updated>
<author>
<name>Shrikant Raskar</name>
<email>raskar.shree97@gmail.com</email>
</author>
<published>2026-01-28T17:51:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=51eedb3a323ae87872c4cb60cc6abed696b0a822'/>
<id>urn:sha1:51eedb3a323ae87872c4cb60cc6abed696b0a822</id>
<content type='text'>
Replace the manually written polling loop with read_poll_timeout(),
the kernel's standard helper for waiting on hardware status.This
makes the code easier to read.

Move the polling logic into a dedicated helper function, as it will
be reused by future updates.

Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@intel.com&gt;
Signed-off-by: Shrikant Raskar &lt;raskar.shree97@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: proximity: rfd77402: Align polling timeout with datasheet</title>
<updated>2026-01-29T17:46:47+00:00</updated>
<author>
<name>Shrikant Raskar</name>
<email>raskar.shree97@gmail.com</email>
</author>
<published>2026-01-28T17:51:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=36bff1842330b3eddaf5a7977eb00a724fc42c27'/>
<id>urn:sha1:36bff1842330b3eddaf5a7977eb00a724fc42c27</id>
<content type='text'>
Update the polling delay to use a 100 ms timeout, as specified
in the RFD77402 datasheet.

Signed-off-by: Shrikant Raskar &lt;raskar.shree97@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: proximity: rfd77402: Reorder header includes</title>
<updated>2026-01-16T20:07:01+00:00</updated>
<author>
<name>Shrikant Raskar</name>
<email>raskar.shree97@gmail.com</email>
</author>
<published>2026-01-15T08:27:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a35df4c1182eec27f13922e963b8df0b88594fe2'/>
<id>urn:sha1:a35df4c1182eec27f13922e963b8df0b88594fe2</id>
<content type='text'>
Reorder header includes to follow kernel include
ordering conventions.

Signed-off-by: Shrikant Raskar &lt;raskar.shree97@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
<entry>
<title>iio: proximity: rfd77402: Add OF device ID for enumeration via DT</title>
<updated>2026-01-11T12:38:14+00:00</updated>
<author>
<name>Shrikant Raskar</name>
<email>raskar.shree97@gmail.com</email>
</author>
<published>2026-01-01T16:17:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=a750088883da1d21502d26bf5852a0d49efb1604'/>
<id>urn:sha1:a750088883da1d21502d26bf5852a0d49efb1604</id>
<content type='text'>
Add an OF device ID table so the driver can bind automatically when
the RFD77402 sensor is described in Device Tree. This enables proper
enumeration via its compatible string and allows instantiation on
DT-based platforms.

Signed-off-by: Shrikant Raskar &lt;raskar.shree97@gmail.com&gt;
Signed-off-by: Jonathan Cameron &lt;Jonathan.Cameron@huawei.com&gt;
</content>
</entry>
</feed>
