[PATCH 08/13] i2c: nomadik: replace jiffies by ktime for FIFO flushing timeout

Linus Walleij linus.walleij at linaro.org
Mon Feb 19 06:21:27 PST 2024


On Thu, Feb 15, 2024 at 5:52 PM Théo Lebrun <theo.lebrun at bootlin.com> wrote:

> The FIFO flush function uses a jiffies amount to detect timeouts as the
> flushing is async. Replace with ktime to get more accurate precision
> and support short timeouts.
>
> Signed-off-by: Théo Lebrun <theo.lebrun at bootlin.com>

Excellent patch. Thanks.
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list