Re: [PATCH v2 4/7] i2c: npcm: Modify timeout evaluation mechanism

From: Andi Shyti
Date: Thu Sep 05 2024 - 17:39:28 EST


Hi Tyrone,

On Fri, Aug 30, 2024 at 11:46:37AM GMT, Tyrone Ting wrote:
> Increase the timeout and treat it as the total timeout, including retries.
> The total timeout is 2 seconds now.

Why?

> The i2c core layer will have chances to retry to call the i2c driver
> transfer function if the i2c driver reports that the bus is busy and
> returns EAGAIN.
>
> Fixes: 48acf8292280 ("i2c: Remove redundant comparison in npcm_i2c_reg_slave")

What is the bug you are fixing?

> Signed-off-by: Tyrone Ting <kfting@xxxxxxxxxxx>

Still... can someone from the nuvoton supporters/reviewers check
this patch?

Thanks,
Andi