[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <938e5570-8e56-4f8d-aff2-3c6354f3330c@baylibre.com>
Date: Sat, 18 Jan 2025 11:14:09 -0600
From: David Lechner <dlechner@...libre.com>
To: Guillaume Ranquet <granquet@...libre.com>,
Lars-Peter Clausen <lars@...afoo.de>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Jonathan Cameron <jic23@...nel.org>
Cc: linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH RFC v3 1/2] iio: introduce the FAULT event type
On 1/16/25 9:01 AM, Guillaume Ranquet wrote:
> Add a new event type to describe an hardware failure.
>
> Signed-off-by: Guillaume Ranquet <granquet@...libre.com>
> ---
...
> enum iio_event_direction {
> @@ -128,6 +129,7 @@ enum iio_event_direction {
> IIO_EV_DIR_NONE,
> IIO_EV_DIR_SINGLETAP,
> IIO_EV_DIR_DOUBLETAP,
> + IIO_EV_DIR_OPENWIRE,
I think it would be a good idea to add additional namespace in the identifier
to make it clear that OPENWIRE only should be used with IIO_EV_TYPE_FAULT.
i.e. IIO_EV_DIR_FAULT_OPENWIRE
> };
>
Powered by blists - more mailing lists