Re: [PATCH v4 2/9] iio: imu: st_lsm6dsx: make event_settings more generic
From: Jonathan Cameron
Date: Sun Dec 07 2025 - 10:21:40 EST
On Mon, 1 Dec 2025 11:00:11 +0100
Francesco Lavra <flavra@xxxxxxxxxxxx> wrote:
> The st_lsm6dsx_event_settings structure contains fields specific for one
> event type (wakeup). In preparation for adding support for more event
> types, introduce an event id enum and a generic event source structure, and
> replace wakeup-specific data in struct st_lsm6dsx_event_settings with an
> array of event source structures.
>
> Signed-off-by: Francesco Lavra <flavra@xxxxxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
> Acked-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx>
Given I've largely forgotten what this looks like but it has some good review
I'm going to do the application one patch at a time.
That should also reduce what we need to handle if there is a clash with
the fix going a different path.
Applied this one to my local tree. I'll rebase that on rc1 once
available and push out as togreg at that time.
Thanks,
Jonathan