Re: [PATCH 3/3] i2c: meson: fixup rate calculation with filter delay

2020-10-08 Thread Wolfram Sang
On Wed, Oct 07, 2020 at 10:07:51AM +0200, Jerome Brunet wrote: > From: Nicolas Belin > > Apparently, 15 cycles of the peripheral clock are used by the controller > for sampling and filtering. Because this was not known before, the rate > calculation is slightly off. > > Clean up and fix the

[PATCH 3/3] i2c: meson: fixup rate calculation with filter delay

2020-10-07 Thread Jerome Brunet
From: Nicolas Belin Apparently, 15 cycles of the peripheral clock are used by the controller for sampling and filtering. Because this was not known before, the rate calculation is slightly off. Clean up and fix the calculation taking this filtering delay into account. Fixes: 30021e3707a7