summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorKewei Xu <kewei.xu@mediatek.com>2022-02-17 15:22:43 +0300
committerWolfram Sang <wsa@kernel.org>2022-03-01 18:16:38 +0300
commitb5a796c6a8091b636f12cd9df12ccb2eed1b7f6c (patch)
treef844c2a701a33bdd21124bd33ea1e06ca3b85045 /scripts/gdb/linux/utils.py
parent17ba1e87fca9e6bad7eacbb1ef042c83358d245e (diff)
downloadlinux-b5a796c6a8091b636f12cd9df12ccb2eed1b7f6c.tar.xz
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions