summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZdenko Pulitika <zdenko.pulitika@imgtec.com>2015-08-26 19:11:37 +0300
committerStephen Boyd <sboyd@codeaurora.org>2015-08-26 21:34:28 +0300
commit093affb009a3d87848e51217cd1a06ce1135633f (patch)
tree4cf8b9e4aa9a722ce259d346ac1603155d3c5309 /tools/perf/scripts/python
parentc5a132a84a692f8d81f3b6959b98bcd959659457 (diff)
downloadlinux-093affb009a3d87848e51217cd1a06ce1135633f.tar.xz
clk: pistachio: Fix 32bit integer overflows
This commit fixes 32bit integer overflows throughout the pll driver (i.e. wherever the result of integer multiplication may exceed the range of u32). One of the functions affected by this problem is .recalc_rate. It returns incorrect rate for some pll settings (not for all though) which in turn results in the incorrect rate setup of pll's child clocks. Fixes: 43049b0c83f17("CLK: Pistachio: Add PLL driver") Cc: <stable@vger.kernel.org> # 4.1 Reviewed-by: Andrew Bresticker <abrestic@chromium.org> Signed-off-by: Zdenko Pulitika <zdenko.pulitika@imgtec.com> Signed-off-by: Govindraj Raja <govindraj.raja@imgtec.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions