diff options
author | 2023-11-22 14:23:06 +0000 | |
---|---|---|
committer | 2023-12-17 15:56:14 -0800 | |
commit | eb16ddb838dd8602961b5fc17d1350cd41ae69e0 (patch) | |
tree | 421711d7787f314e1769dc3d4cee3e3fd843606f /tools/perf/scripts/python | |
parent | Linux 6.7-rc1 (diff) | |
download | wireguard-linux-eb16ddb838dd8602961b5fc17d1350cd41ae69e0.tar.xz wireguard-linux-eb16ddb838dd8602961b5fc17d1350cd41ae69e0.zip |
clk: versaclock3: Update vc3_get_div() to avoid divide by zero
Update vc3_get_div() to avoid divide by zero operation on
vc3_div_round_rate() by returning1, if there is no table match
found.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20231122142310.203169-2-biju.das.jz@bp.renesas.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions