Kewei Xu b5a796c6a8 i2c: mediatek: modify bus speed calculation formula
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@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Qii Wang <qii.wang@mediatek.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2022-03-01 16:16:38 +01:00
..
2022-02-07 17:42:44 +01:00
2022-01-23 06:20:44 +02:00
2022-01-11 11:35:28 -08:00
2022-01-12 11:11:34 -08:00
2022-01-22 08:33:37 +02:00
2022-01-22 09:52:17 +02:00
2022-02-15 09:05:01 -08:00
2022-01-16 08:08:11 +02:00
2022-02-02 10:33:04 +05:30
2022-01-22 08:33:37 +02:00
2022-01-20 13:25:01 +02:00
2022-01-27 11:23:26 +02:00
2022-02-18 09:20:52 -08:00
2022-02-01 12:39:37 -08:00
2022-02-08 09:48:44 +01:00
2021-12-29 10:54:50 +01:00
2022-01-20 13:31:46 +02:00
2022-01-23 06:20:44 +02:00
2022-01-17 08:07:57 +02:00
2022-01-22 08:33:37 +02:00