[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3e7944588d3011b6a144d70ab9027a05a1e230d0.camel@baylibre.com>
Date: Fri, 31 Oct 2025 09:26:19 +0100
From: Francesco Lavra <flavra@...libre.com>
To: Lorenzo Bianconi <lorenzo@...nel.org>
Cc: Jonathan Cameron <jic23@...nel.org>, David Lechner
<dlechner@...libre.com>, Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/9] iio: imu: st_lsm6dsx: dynamically initialize
iio_chan_spec data
[missed this one]
On Thu, 2025-10-30 at 17:42 +0100, Lorenzo Bianconi wrote:
>
> > + chan->ext_info = st_lsm6dsx_ext_info;
> > + if (id == ST_LSM6DSX_ID_ACC) {
> > + if (hw->settings->event_settings.wakeup_reg.addr) {
>
> if (id == ST_LSM6DSX_ID_ACC &&
> hw->settings->event_settings.wakeup_reg.addr) {
> ...
> }
In patch 4/9, the inner conditional will be replaced by more generic code,
so we would revert to if (id == ST_LSM6DSX_ID_ACC) [...]
Download attachment "signature.asc" of type "application/pgp-signature" (660 bytes)
Powered by blists - more mailing lists