Revert "[HACK] remove clock setting code"
authorJaehyoung Choi <jkkkkk.choi@samsung.com>
Mon, 14 May 2018 07:16:55 +0000 (16:16 +0900)
committerJaehyoung Choi <jkkkkk.choi@samsung.com>
Mon, 14 May 2018 07:16:55 +0000 (16:16 +0900)
This reverts commit c6d418b50aeb5fedbbac7ce5e4a120c4757c00f3.

drivers/clocksource/exynos_mct.c

index 972607972030f8676a2927da5911d5494e4cde32..27b41aae04fa316b76bee84a9a7e66b3e40cc834 100644 (file)
@@ -494,7 +494,6 @@ static int exynos4_mct_dying_cpu(unsigned int cpu)
 static int __init exynos4_timer_resources(struct device_node *np, void __iomem *base)
 {
        int err, cpu;
-#if 0
        struct clk *mct_clk, *tick_clk;
 
        tick_clk = np ? of_clk_get_by_name(np, "fin_pll") :
@@ -507,8 +506,7 @@ static int __init exynos4_timer_resources(struct device_node *np, void __iomem *
        if (IS_ERR(mct_clk))
                panic("%s: unable to retrieve mct clock instance\n", __func__);
        clk_prepare_enable(mct_clk);
-#endif
-       clk_rate = 26000000;
+
        reg_base = base;
        if (!reg_base)
                panic("%s: unable to ioremap mct address space\n", __func__);