Re: [PATCH v4 13/17] staging: iio: resolver: ad2s1210: implement fault events

From: Jonathan Cameron
Date: Tue Oct 10 2023 - 12:07:25 EST


On Thu, 5 Oct 2023 19:50:30 -0500
David Lechner <dlechner@xxxxxxxxxxxx> wrote:

> When reading the position and velocity on the AD2S1210, there is also a
> 3rd byte following the two data bytes that contains the fault flag bits.
> This patch adds support for reading this byte and generating events when
> faults occur.
>
> The faults are mapped to various channels and event type in order to
> have a unique event for each fault.
>
> Signed-off-by: David Lechner <dlechner@xxxxxxxxxxxx>
Applied.