On Thu, 2022-02-17 at 20:22 +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> > Reviewed-by: AngeloGioacchino Del Regno < > angelogioacchino.delregno@xxxxxxxxxxxxx> Reviewed-by: Qii Wang <qii.wang@xxxxxxxxxxxx> > --- > drivers/i2c/busses/i2c-mt65xx.c | 51 > +++++++++++++++++++++++++++++++++-------- > 1 file changed, 41 insertions(+), 10 deletions(-) >