summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorCarlos Song <carlos.song@nxp.com>2024-11-25 22:15:21 +0800
committerAndi Shyti <andi.shyti@kernel.org>2025-01-07 23:46:09 +0100
commitcf30675e4d0631eac6634b2ae3f77b7b0eafe447 (patch)
tree73b59965cc1ca425eeedd59cf569283f3ced04de /tools/perf/scripts/python/export-to-postgresql.py
parent440ae6f03098133014daa9dd1390afaa8ad530fa (diff)
i2c: imx: fix divide by zero warning
Add "i2c_clk_rate / 2" check to avoid "divide by zero warning". i2c_clk_rate may be zero if i2c clock is disabled. Signed-off-by: Carlos Song <carlos.song@nxp.com> Signed-off-by: Clark Wang <xiaoning.wang@nxp.com> Signed-off-by: Haibo Chen <haibo.chen@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions