[PATCH v10,1/1] i2c: mediatek: modify bus speed calculation formula
Qii Wang
qii.wang at mediatek.com
Sun Feb 27 22:31:41 PST 2022
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 at mediatek.com>
> Reviewed-by: AngeloGioacchino Del Regno <
> angelogioacchino.delregno at collabora.com>
Reviewed-by: Qii Wang <qii.wang at mediatek.com>
> ---
> drivers/i2c/busses/i2c-mt65xx.c | 51
> +++++++++++++++++++++++++++++++++--------
> 1 file changed, 41 insertions(+), 10 deletions(-)
>
More information about the linux-arm-kernel
mailing list