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

From
Qii Wang <qii.wang@mediatek.com>
Date
2021-09-01 09:35:40
Also in
linux-devicetree, linux-i2c, linux-mediatek, lkml
Reply to
Kewei Xu, 2021-08-28
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 <redacted>
---
 drivers/i2c/busses/i2c-mt65xx.c | 35 +++++++++++++++++++++++++----------
 1 file changed, 25 insertions(+), 10 deletions(-)
Reviewed-by: Qii Wang <qii.wang@mediatek.com>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (14 messages) 14 messages, 2 authors, last reply 2021-09-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help