[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250316111401.07da20dc@jic23-huawei>
Date: Sun, 16 Mar 2025 11:14:09 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Lothar Rubusch <l.rubusch@...il.com>
Cc: lars@...afoo.de, Michael.Hennerich@...log.com,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org,
eraretuya@...il.com
Subject: Re: [PATCH v4 04/14] iio: accel: adxl345: introduce
adxl345_push_event function
On Thu, 13 Mar 2025 16:50:39 +0000
Lothar Rubusch <l.rubusch@...il.com> wrote:
> Move the fifo handling into a separate function. This is a preparation
> for a generic handling of the interrupt status register results.
>
> The interrupt status register is read into a variable int_stat. It carries
> status for various sensor events, handling of which is added in follow up
> patches. Evaluation of the int_stat variable is common for sensor events,
> such as tap detection, freefall, activity,... and for fifo events, such as
> data ready, overrun, watermark,... Also, dealing with in case error
> returns shall be common to all events. Thus migrate fifo read-out and push
> fifo content to iio channels into this function to be built up with
> additional event handling.
>
> Signed-off-by: Lothar Rubusch <l.rubusch@...il.com>
Applied
Powered by blists - more mailing lists