Re: [RESEND PATCH 03/14] iio: adc: max1027: poll own trigger from interrupt handler
From: Miquel Raynal
Date: Mon Nov 16 2026 - 04:14:14 EST
On 09/11/2026 at 04:28:40 GMT, Jonathan Cameron <jic23@xxxxxxxxxx> wrote:
> From: Jonathan Cameron <jonathan.cameron@xxxxxxxxxxxxxxxx>
>
> Poll st->trig from max1027_handler() rather than indio_dev->trig. The
> poll is only reached when the buffer is enabled and the device's own
> trigger is in use.
>
> This removes a dependency on the trig field of struct iio_dev, which
> is to become private to the IIO core.
>
> Signed-off-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxxxxxxxx>
Reviewed-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>