From: Seungwhan Youn Date: Tue, 19 Oct 2010 09:13:11 +0000 (+0900) Subject: ARM: S5P64X0: Set DMA clock disable as default X-Git-Tag: firefly_0821_release~7613^2~3546^2^2~2^2~13 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b05d85350cce3f7da40cefd29305571f6230fbf7;p=firefly-linux-kernel-4.4.55.git ARM: S5P64X0: Set DMA clock disable as default This patch modify to DMA operation clock into disable list for default clock setting. Signed-off-by: Seungwhan Youn Acked-by: Jassi Brar Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/mach-s5p64x0/clock-s5p6440.c b/arch/arm/mach-s5p64x0/clock-s5p6440.c index 0d728d3383b4..e4883dc1c8d7 100644 --- a/arch/arm/mach-s5p64x0/clock-s5p6440.c +++ b/arch/arm/mach-s5p64x0/clock-s5p6440.c @@ -152,6 +152,12 @@ static struct clk init_clocks_disable[] = { .parent = &clk_hclk.clk, .enable = s5p64x0_hclk0_ctrl, .ctrlbit = (1 << 8), + }, { + .name = "pdma", + .id = -1, + .parent = &clk_hclk_low.clk, + .enable = s5p64x0_hclk0_ctrl, + .ctrlbit = (1 << 12), }, { .name = "hsmmc", .id = 0, @@ -333,12 +339,6 @@ static struct clk init_clocks[] = { .parent = &clk_hclk.clk, .enable = s5p64x0_hclk0_ctrl, .ctrlbit = (1 << 21), - }, { - .name = "dma", - .id = -1, - .parent = &clk_hclk_low.clk, - .enable = s5p64x0_hclk0_ctrl, - .ctrlbit = (1 << 12), }, { .name = "uart", .id = 0, diff --git a/arch/arm/mach-s5p64x0/clock-s5p6450.c b/arch/arm/mach-s5p64x0/clock-s5p6450.c index 1b9b0f92d178..7dbf3c968f53 100644 --- a/arch/arm/mach-s5p64x0/clock-s5p6450.c +++ b/arch/arm/mach-s5p64x0/clock-s5p6450.c @@ -188,6 +188,12 @@ static struct clk init_clocks_disable[] = { .parent = &clk_hclk_low.clk, .enable = s5p64x0_hclk0_ctrl, .ctrlbit = (1 << 3), + }, { + .name = "pdma", + .id = -1, + .parent = &clk_hclk_low.clk, + .enable = s5p64x0_hclk0_ctrl, + .ctrlbit = (1 << 12), }, { .name = "hsmmc", .id = 0, @@ -285,12 +291,6 @@ static struct clk init_clocks[] = { .parent = &clk_hclk.clk, .enable = s5p64x0_hclk0_ctrl, .ctrlbit = (1 << 21), - }, { - .name = "dma", - .id = -1, - .parent = &clk_hclk_low.clk, - .enable = s5p64x0_hclk0_ctrl, - .ctrlbit = (1 << 12), }, { .name = "uart", .id = 0,