Dinh Nguyen 5585f73175 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>
2014-02-26 12:23:29 -08:00
..
2014-02-20 12:46:24 -08:00
2014-02-17 12:42:45 -08:00
2014-02-14 16:13:00 -08:00
2014-02-14 10:40:47 +01:00
2014-02-21 23:57:33 +01:00
2014-02-14 12:48:16 -08:00
2014-02-21 09:55:32 -08:00
2014-02-20 12:46:24 -08:00
2014-01-12 23:48:18 +01:00
2014-02-14 10:32:28 -08:00
2014-01-15 14:51:22 -08:00
2014-01-27 08:15:51 -08:00
2014-02-23 10:39:21 -08:00
2014-01-22 22:24:35 -08:00
2014-02-12 12:28:05 -08:00