From: Tzung-Bi Shih <tzungbi@kernel.org>
To: Gwendal Grignou <gwendal@chromium.org>
Cc: jic23@kernel.org, linux-iio@vger.kernel.org,
chrome-platform@lists.linux.dev, devicetree@vger.kernel.org
Subject: Re: [PATCH v3] iio: cros_ec_sensors: Flush when changing the FIFO timeout
Date: Wed, 9 Apr 2025 01:19:27 +0000 [thread overview]
Message-ID: <Z_XLH7bwXAJ0hv5q@google.com> (raw)
In-Reply-To: <20250408155619.2169189-1-gwendal@chromium.org>
On Tue, Apr 08, 2025 at 08:56:19AM -0700, Gwendal Grignou wrote:
> |hwfifo_timeout| is used by the EC firmware only when new samples are
> available.
> When the timeout changes, espcially when the new timeout is shorter than
> the current one, send the samples waiting in the FIFO to the host.
> Inline the call to transmit |hwfifo_timeout| value to the firmware.
>
> Now flush when a sensor is suspended (ODR set to 0) as well.
>
> Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
next prev parent reply other threads:[~2025-04-09 1:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-31 16:48 [PATCH] drivers: iio: cros_ec_sensors: Flush changing the FIFO timeout Gwendal Grignou
2025-04-02 9:29 ` Tzung-Bi Shih
2025-04-08 5:50 ` Gwendal Grignou
2025-04-08 5:54 ` [PATCH v2] iio: cros_ec_sensors: Flush when " Gwendal Grignou
2025-04-08 7:59 ` Tzung-Bi Shih
2025-04-08 15:56 ` Gwendal Grignou
2025-04-08 15:56 ` [PATCH v3] " Gwendal Grignou
2025-04-09 1:19 ` Tzung-Bi Shih [this message]
2025-04-12 10:42 ` Jonathan Cameron
2025-04-23 22:05 ` Gwendal Grignou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Z_XLH7bwXAJ0hv5q@google.com \
--to=tzungbi@kernel.org \
--cc=chrome-platform@lists.linux.dev \
--cc=devicetree@vger.kernel.org \
--cc=gwendal@chromium.org \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox