]> git.ipfire.org Git - people/ms/u-boot.git/commit
rockchip: clk: rk3399: 24MHz is not a power of 2
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 24 Mar 2017 18:35:37 +0000 (19:35 +0100)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Apr 2017 02:01:57 +0000 (20:01 -0600)
commitba3bf3879ecb10e3da0892fe42d13ae19ca2439f
tree89194f9408ccef85e1378820bbd11b6694357bf4
parentca0ab2736e47e48d0eea365dd9a57b1cc253ae60
rockchip: clk: rk3399: 24MHz is not a power of 2

The clock driver for the RK3399 mistakenly used (24 * 2^20) where it
should have used (24 * 10^6) in a few calculations.

This commits fixes this.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/clk/rockchip/clk_rk3399.c