lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAD++jL=OhmJmiq+osdZysfJ=U4mwKcuNVUY-RKq-xO_YZpeP3g@mail.gmail.com>
Date: Fri, 9 Jan 2026 10:24:05 +0100
From: Linus Walleij <linusw@...nel.org>
To: Marek Vasut <marek.vasut@...lbox.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 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.

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ