diff options
| author | Marek Szyprowski <m.szyprowski@samsung.com> | 2017-10-03 06:00:10 -0400 |
|---|---|---|
| committer | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2017-10-09 05:30:05 -0400 |
| commit | 6de08891c896d313e6541e5a56e373adcf0bbebc (patch) | |
| tree | 4631fcf5704f85e1b0f1388e8851bc75321201e2 | |
| parent | 58f4a5ff3a6248a89c849415cab8089e41425f5e (diff) | |
clk: samsung: Remove double assignment of CLK_ARM_CLK in Exynos4 driver
CLK_ARM_CLK ("armclk") clock is provided by cpu-clk subdriver, which is
instantiated after creating all divider clocks from exynos4_div_clks
array. There is no point assigning this id to "div_core2" clock and later
overwrite with proper "armcpu" clock by cpu-clk subdriver.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
| -rw-r--r-- | drivers/clk/samsung/clk-exynos4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk/samsung/clk-exynos4.c index 3fbfd9ed82b7..3bd2d84b2a17 100644 --- a/drivers/clk/samsung/clk-exynos4.c +++ b/drivers/clk/samsung/clk-exynos4.c | |||
| @@ -721,7 +721,7 @@ static const struct samsung_div_clock exynos4_div_clks[] __initconst = { | |||
| 721 | DIV(0, "div_periph", "div_core2", DIV_CPU0, 12, 3), | 721 | DIV(0, "div_periph", "div_core2", DIV_CPU0, 12, 3), |
| 722 | DIV(0, "div_atb", "mout_core", DIV_CPU0, 16, 3), | 722 | DIV(0, "div_atb", "mout_core", DIV_CPU0, 16, 3), |
| 723 | DIV(0, "div_pclk_dbg", "div_atb", DIV_CPU0, 20, 3), | 723 | DIV(0, "div_pclk_dbg", "div_atb", DIV_CPU0, 20, 3), |
| 724 | DIV(CLK_ARM_CLK, "div_core2", "div_core", DIV_CPU0, 28, 3), | 724 | DIV(0, "div_core2", "div_core", DIV_CPU0, 28, 3), |
| 725 | DIV(0, "div_copy", "mout_hpm", DIV_CPU1, 0, 3), | 725 | DIV(0, "div_copy", "mout_hpm", DIV_CPU1, 0, 3), |
| 726 | DIV(0, "div_hpm", "div_copy", DIV_CPU1, 4, 3), | 726 | DIV(0, "div_hpm", "div_copy", DIV_CPU1, 4, 3), |
| 727 | DIV(0, "div_clkout_cpu", "mout_clkout_cpu", CLKOUT_CMU_CPU, 8, 6), | 727 | DIV(0, "div_clkout_cpu", "mout_clkout_cpu", CLKOUT_CMU_CPU, 8, 6), |
