Re: [PATCH v9 1/1] i2c: mediatek: modify bus speed calculation formula

From: AngeloGioacchino Del Regno
Date: Mon Feb 14 2022 - 06:58:53 EST


Il 09/02/22 10:54, Kewei Xu ha scritto:
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>
Change-Id: Ic0d9b8ab036bcf215d3a5066f2b91c7b8b128ba6

Please remove Change-Id tag, this is inappropriate and it's also irrelevant here.

After removing that tag:

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>

---
drivers/i2c/busses/i2c-mt65xx.c | 51 +++++++++++++++++++++++++++++++++--------
1 file changed, 41 insertions(+), 10 deletions(-)