[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e7d81db8-297c-4063-b663-448172805edd@mailbox.org>
Date: Fri, 9 Jan 2026 16:00:38 +0100
From: Marek Vasut <marek.vasut@...lbox.org>
To: Linus Walleij <linusw@...nel.org>
Cc: Hans de Goede <hansg@...nel.org>, Jonathan Cameron <jic23@...nel.org>,
linux-iio@...r.kernel.org, Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>, David Lechner <dlechner@...libre.com>,
Julien Stephan <jstephan@...libre.com>, Peter Zijlstra
<peterz@...radead.org>, Salvatore Bonaccorso <carnil@...ian.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: accel: bmc150: Do not configure IRQ registers if no
IRQ connected
On 1/9/26 10:24 AM, Linus Walleij wrote:
> On Thu, Jan 8, 2026 at 10:55 PM Marek Vasut <marek.vasut@...lbox.org> 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 !
Powered by blists - more mailing lists