]> git.sur5r.net Git - u-boot/commit
arm: exynos: fix the div value for set_mmc_clk
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 8 Jan 2015 07:50:21 +0000 (16:50 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 13 Feb 2015 08:15:14 +0000 (17:15 +0900)
commita276172cf32386c211c75638f6bf3c0d59ba03ba
treeb0fb67e0cce0a29b69fed0065d12a8b3e1a693fa
parentbd2a4888b123713adec271d6c8040ca9f609aa2f
arm: exynos: fix the div value for set_mmc_clk

The most exynos used the  "Ratio + 1" as div value.
And value at register is "Ratio".
So if want to set exact value, it needs to subtract one.

Value at register ("Ratio") = div - 1

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/cpu/armv7/exynos/clock.c