]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:52:17 +0000 (13:52 +0200)
commit0e3ac8439b6d286772c48f0094aaea01ac16e016
treee41025547c8837eb37476a68e0b8948f8ed5b136
parentc0fec54e331ed73abaad4bddcc710b1e60a4b36e
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