Messages in this thread | | | Subject | Re: [PATCH v6 7/7] i2c: mediatek: modify bus speed calculation formula | From | Qii Wang <> | Date | Wed, 1 Sep 2021 17:35:32 +0800 |
| |
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 <kewei.xu@mediatek.com> > --- > drivers/i2c/busses/i2c-mt65xx.c | 35 +++++++++++++++++++++++++---------- > 1 file changed, 25 insertions(+), 10 deletions(-) >
Reviewed-by: Qii Wang <qii.wang@mediatek.com>
| |