Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1382976 > unrolled thread

[PATCH] ARM: dove: Remove CLK_IS_ROOT

Started byStephen Boyd <sboyd@codeaurora.org>
First post2016-04-20 03:50 +0200
Last post2016-04-27 14:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM: dove: Remove CLK_IS_ROOT Stephen Boyd <sboyd@codeaurora.org> - 2016-04-20 03:50 +0200
    Re: [PATCH] ARM: dove: Remove CLK_IS_ROOT Gregory CLEMENT <gregory.clement@free-electrons.com> - 2016-04-27 14:00 +0200

#1382976 — [PATCH] ARM: dove: Remove CLK_IS_ROOT

FromStephen Boyd <sboyd@codeaurora.org>
Date2016-04-20 03:50 +0200
Subject[PATCH] ARM: dove: Remove CLK_IS_ROOT
Message-ID<rpPrb-8e3-13@gated-at.bofh.it>
This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate
CLK_IS_ROOT", 2016-02-02) so remove it.

Cc: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
 arch/arm/mach-dove/common.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c
index 0cdaa3851d2e..0d420a2bfe3e 100644
--- a/arch/arm/mach-dove/common.c
+++ b/arch/arm/mach-dove/common.c
@@ -88,8 +88,7 @@ static void __init dove_clk_init(void)
 	struct clk *nand, *camera, *i2s0, *i2s1, *crypto, *ac97, *pdma;
 	struct clk *xor0, *xor1, *ge, *gephy;
 
-	tclk = clk_register_fixed_rate(NULL, "tclk", NULL, CLK_IS_ROOT,
-				       dove_tclk);
+	tclk = clk_register_fixed_rate(NULL, "tclk", NULL, 0, dove_tclk);
 
 	usb0 = dove_register_gate("usb0", "tclk", CLOCK_GATING_BIT_USB0);
 	usb1 = dove_register_gate("usb1", "tclk", CLOCK_GATING_BIT_USB1);
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

[toc] | [next] | [standalone]


#1388935

FromGregory CLEMENT <gregory.clement@free-electrons.com>
Date2016-04-27 14:00 +0200
Message-ID<rswil-Gj-3@gated-at.bofh.it>
In reply to#1382976
Hi Stephen,
 
 On mer., avril 20 2016, Stephen Boyd <sboyd@codeaurora.org> wrote:

> This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate
> CLK_IS_ROOT", 2016-02-02) so remove it.
>
> Cc: Andrew Lunn <andrew@lunn.ch>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

Applied on mvebu/soc

Thanks,

Gregory
> ---
>  arch/arm/mach-dove/common.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-dove/common.c b/arch/arm/mach-dove/common.c
> index 0cdaa3851d2e..0d420a2bfe3e 100644
> --- a/arch/arm/mach-dove/common.c
> +++ b/arch/arm/mach-dove/common.c
> @@ -88,8 +88,7 @@ static void __init dove_clk_init(void)
>  	struct clk *nand, *camera, *i2s0, *i2s1, *crypto, *ac97, *pdma;
>  	struct clk *xor0, *xor1, *ge, *gephy;
>  
> -	tclk = clk_register_fixed_rate(NULL, "tclk", NULL, CLK_IS_ROOT,
> -				       dove_tclk);
> +	tclk = clk_register_fixed_rate(NULL, "tclk", NULL, 0, dove_tclk);
>  
>  	usb0 = dove_register_gate("usb0", "tclk", CLOCK_GATING_BIT_USB0);
>  	usb1 = dove_register_gate("usb1", "tclk", CLOCK_GATING_BIT_USB1);
> -- 
> The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
> a Linux Foundation Collaborative Project
>

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web