diff options
author | Ronald Wahl <[email protected]> | 2018-10-10 15:54:54 +0200 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2018-10-16 14:49:39 -0700 |
commit | 0f5cb0e6225cae2f029944cb8c74617aab6ddd49 (patch) | |
tree | 9f728cd6f6bb0aa004c3560327beb7dc33f6ac61 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff) |
clk: at91: Fix division by zero in PLL recalc_rate()
Commit a982e45dc150 ("clk: at91: PLL recalc_rate() now using cached MUL
and DIV values") removed a check that prevents a division by zero. This
now causes a stacktrace when booting the kernel on a at91 platform if
the PLL DIV register contains zero. This commit reintroduces this check.
Fixes: a982e45dc150 ("clk: at91: PLL recalc_rate() now using cached...")
Cc: <[email protected]>
Signed-off-by: Ronald Wahl <[email protected]>
Acked-by: Ludovic Desroches <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions