[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKbEznvW8vFs2fuzhWb8o-yt4UjTt2Su9wJR-jCX7A41M_kDVw@mail.gmail.com>
Date: Sun, 4 May 2025 20:15:48 +0900
From: Gyeyoung Baek <gye976@...il.com>
To: Jonathan Cameron <jic23@...nel.org>, David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: trigger: Add validation to reject devices requiring
top half
On Sun, May 4, 2025 at 4:00 AM Gyeyoung Baek <gye976@...il.com> 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;
> +}
Powered by blists - more mailing lists