arm: exynos: fix set_mmc_clk for exynos4x12
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 2 Dec 2013 05:25:33 +0000 (14:25 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Tue, 3 Dec 2013 00:39:46 +0000 (09:39 +0900)
Fix the set_mmc_clk() for exnos4x12.
If board is exynos4x12, mmc clock should be set to wrong value.

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

index 36fedd630cde8e924df129bedfb72397f9fd9b11..84a50470aaff265837d00099566bdb36d2d0cd86 100644 (file)
@@ -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);
        }
 }