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

From: Linus Walleij
Date: Mon Feb 19 2024 - 09:21:49 EST


On Thu, Feb 15, 2024 at 5:52 PM Théo Lebrun <theo.lebrun@xxxxxxxxxxx> 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@xxxxxxxxxxx>

Excellent patch. Thanks.
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij