From: Jaehoon Chung Date: Mon, 2 Dec 2013 05:25:33 +0000 (+0900) Subject: arm: exynos: fix set_mmc_clk for exynos4x12 X-Git-Tag: v2014.01-rc2~42^2~12^2~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a85ca22f62cb262fe33757792fdb78d1927cb2d0;p=oweals%2Fu-boot.git arm: exynos: fix set_mmc_clk for exynos4x12 Fix the set_mmc_clk() for exnos4x12. If board is exynos4x12, mmc clock should be set to wrong value. Signed-off-by: Jaehoon Chung Signed-off-by: Minkyu Kang --- diff --git a/arch/arm/cpu/armv7/exynos/clock.c b/arch/arm/cpu/armv7/exynos/clock.c index 36fedd630c..84a50470aa 100644 --- a/arch/arm/cpu/armv7/exynos/clock.c +++ b/arch/arm/cpu/armv7/exynos/clock.c @@ -1410,7 +1410,8 @@ void set_mmc_clk(int dev_index, unsigned int div) else { if (proid_is_exynos4412()) exynos4x12_set_mmc_clk(dev_index, div); - exynos4_set_mmc_clk(dev_index, div); + else + exynos4_set_mmc_clk(dev_index, div); } }