Re: [PATCH v6 7/7] i2c: mediatek: modify bus speed calculation formula

From: Qii Wang
Date: Wed Sep 01 2021 - 05:35:40 EST


On Sat, 2021-08-28 at 18:50 +0800, Kewei Xu wrote:
> When clock-div is 0 or greater than 1, the bus speed
> calculated by the old speed calculation formula will be
> larger than the target speed. So we update the formula.
>
> Signed-off-by: Kewei Xu <kewei.xu@xxxxxxxxxxxx>
> ---
> drivers/i2c/busses/i2c-mt65xx.c | 35 +++++++++++++++++++++++++----------
> 1 file changed, 25 insertions(+), 10 deletions(-)
>

Reviewed-by: Qii Wang <qii.wang@xxxxxxxxxxxx>