[PATCH v2 4/7] i2c: npcm: Modify timeout evaluation mechanism
Tyrone Ting
warp5tw at gmail.com
Mon Sep 9 11:47:35 AEST 2024
Hi Andi:
Thank you for your review.
Tali Perry <tali.perry1 at gmail.com> 於 2024年9月8日 週日 下午6:48寫道:
>
> Hi Andi,
>
> On Fri, Sep 6, 2024 at 12:39 AM Andi Shyti <andi.shyti at kernel.org> wrote:
> >
> > 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 users want to connect a lot of masters on the same bus.
> This timeout is used to determine the time it takes to take bus ownership.
> The transactions are very long, so waiting 35ms is not enough.
>
> >
> > > 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?
> >
I'll remove the Fixes tag in the next patch set.
> > > Signed-off-by: Tyrone Ting <kfting at nuvoton.com>
> >
> > Still... can someone from the nuvoton supporters/reviewers check
> > this patch?
> >
> > Thanks,
> > Andi
>
> Thanks,
> Tali Perry,
> Nuvoton Technologies.
Thank you.
Regards,
Tyrone
More information about the openbmc
mailing list