Re: [PATCH] iio: accel: bmc150: Do not configure IRQ registers if no IRQ connected

From: Marek Vasut
Date: Fri Jan 09 2026 - 10:01:48 EST


On 1/9/26 10:24 AM, Linus Walleij wrote:
On Thu, Jan 8, 2026 at 10:55 PM Marek Vasut <marek.vasut@xxxxxxxxxxx> wrote:

On 6/21/25 10:14 PM, Hans de Goede wrote:

Hello Hans,

IIO has separate interfaces for exporting channels which can be polled by
userspace and for triggers which is a more event driven interface.

It should be possible to modify the driver to skip the trigger registration,
while keeping the channels. E.g. iio-sensor-proxy will then automaticallt
switch to polling in userspace.
I wonder if this got fixed by this commit in the meantime:

3aa385a9c75c ("iio: accel: bmc150: Fix irq assumption regression")

I think so.

It was causing a NULL dereference for me, so I had to fix it.
Thank you !