summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-imx.c
diff options
context:
space:
mode:
authorNicolas Belin <nbelin@baylibre.com>2020-10-07 10:07:51 +0200
committerWolfram Sang <wsa@kernel.org>2020-10-08 11:57:23 +0200
commit1334d3b4e49e35d8912a7c37ffca4c5afb9a0516 (patch)
treea615896a693371d8522e6f5446c386a1e87aa0fa /drivers/i2c/busses/i2c-imx.c
parent79e137b1540165f788394658442284d55a858984 (diff)
i2c: meson: fixup rate calculation with filter delay
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 ("i2c: add support for Amlogic Meson I2C controller") Signed-off-by: Nicolas Belin <nbelin@baylibre.com> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-imx.c')
0 files changed, 0 insertions, 0 deletions