diff options
author | Kewei Xu <kewei.xu@mediatek.com> | 2022-02-17 20:22:43 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2022-03-01 16:16:38 +0100 |
commit | b5a796c6a8091b636f12cd9df12ccb2eed1b7f6c (patch) | |
tree | f844c2a701a33bdd21124bd33ea1e06ca3b85045 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 17ba1e87fca9e6bad7eacbb1ef042c83358d245e (diff) |
i2c: mediatek: modify bus speed calculation formula
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>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Qii Wang <qii.wang@mediatek.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions