ARM: EXYNOS: Fix the incorrect hierarchy of spi controller bus clock
authorThomas Abraham <thomas.abraham@linaro.org>
Sat, 14 Jul 2012 01:53:08 +0000 (10:53 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 14 Jul 2012 01:57:02 +0000 (10:57 +0900)
commit46fda15c0c21493a9305db0a05e08f072d6409e4
tree4dba60a35f41a10796d0931f34a5c7922c1c290f
parent4922972ecaca1b2eeb0f7643f97006d2f713d42b
ARM: EXYNOS: Fix the incorrect hierarchy of spi controller bus clock

The sclk_spi clock is derived currently from the first level divider
(MMCx_RATIO) which is incorrect. The output of the first level clock
is divided by a second level divider (MMCx_PRE_RATIO), the output of
which is used as the spi bus clock (sclk_spi). Fix the clock hierarchy
issues for the sclk_spi clock.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Jaswinder Singh <jaswinder.singh@linaro.org>
[kgene.kim@samsung.com: changed the name of clk for consensus]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/clock-exynos4.c