diff options
author | Dinh Nguyen <dinguyen@altera.com> | 2014-02-19 15:11:10 -0600 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-02-26 12:23:29 -0800 |
commit | 5585f7317573873f95c1bb7748322c62a6c3a919 (patch) | |
tree | 91c8230f367233a21a4cdb61c72bbb94a5e27e5a /drivers/clk/hisilicon | |
parent | 2c97ec58420d852f3f0ede905b92fbab1df5961c (diff) |
clk: socfpga: Fix integer overflow in clock calculation
Use 64-bit integer for calculating clock rate. Also use do_div for the
64-bit division.
Signed-off-by: Graham Moore <grmoore@altera.com>
Signed-off-by: Dinh Nguyen <dinguyen@altera.com>
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/hisilicon')
0 files changed, 0 insertions, 0 deletions