Re: [PATCH] iio: trigger: Add validation to reject devices requiring top half
From: Gyeyoung Baek
Date: Sun May 04 2025 - 07:16:09 EST
On Sun, May 4, 2025 at 4:00 AM Gyeyoung Baek <gye976@xxxxxxxxx> wrote:
>
> +{
> + struct iio_poll_func *pf = indio_dev->pollfunc;
Sorry, it should be `indio_dev->pollfunc_event` instead of
`indio_dev->pollfunc`. Please ignore this patch.
> +
> + /* Only iio timestamp grabbing is allowed. */
> + if (pf->h && pf->h != iio_pollfunc_store_time)
> + return -EINVAL;
> +
> + return 0;
> +}