linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: clk-flexgen: fix clock-critical handling
@ 2020-03-22 14:07 Alain Volmat
  2020-03-23  9:20 ` Patrice CHOTARD
  2020-05-27  8:14 ` Stephen Boyd
  0 siblings, 2 replies; 3+ messages in thread
From: Alain Volmat @ 2020-03-22 14:07 UTC (permalink / raw)
  To: mturquette, sboyd, lee.jones, linux-clk, linux-kernel
  Cc: patrice.chotard, avolmat

Fixes an issue leading to having all clocks following a critical
clocks marked as well as criticals.

Fixes: fa6415affe20 ("clk: st: clk-flexgen: Detect critical clocks")

Signed-off-by: Alain Volmat <avolmat@me.com>
---
 drivers/clk/st/clk-flexgen.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/st/clk-flexgen.c b/drivers/clk/st/clk-flexgen.c
index 4413b6e04a8e..55873d4b7603 100644
--- a/drivers/clk/st/clk-flexgen.c
+++ b/drivers/clk/st/clk-flexgen.c
@@ -375,6 +375,7 @@ static void __init st_of_flexgen_setup(struct device_node *np)
 			break;
 		}
 
+		flex_flags &= ~CLK_IS_CRITICAL;
 		of_clk_detect_critical(np, i, &flex_flags);
 
 		/*
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: clk-flexgen: fix clock-critical handling
  2020-03-22 14:07 [PATCH] clk: clk-flexgen: fix clock-critical handling Alain Volmat
@ 2020-03-23  9:20 ` Patrice CHOTARD
  2020-05-27  8:14 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Patrice CHOTARD @ 2020-03-23  9:20 UTC (permalink / raw)
  To: Alain Volmat, mturquette, sboyd, lee.jones, linux-clk, linux-kernel

Hi Alain

On 3/22/20 3:07 PM, Alain Volmat wrote:
> Fixes an issue leading to having all clocks following a critical
> clocks marked as well as criticals.
>
> Fixes: fa6415affe20 ("clk: st: clk-flexgen: Detect critical clocks")
>
> Signed-off-by: Alain Volmat <avolmat@me.com>
> ---
>  drivers/clk/st/clk-flexgen.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/st/clk-flexgen.c b/drivers/clk/st/clk-flexgen.c
> index 4413b6e04a8e..55873d4b7603 100644
> --- a/drivers/clk/st/clk-flexgen.c
> +++ b/drivers/clk/st/clk-flexgen.c
> @@ -375,6 +375,7 @@ static void __init st_of_flexgen_setup(struct device_node *np)
>  			break;
>  		}
>  
> +		flex_flags &= ~CLK_IS_CRITICAL;
>  		of_clk_detect_critical(np, i, &flex_flags);
>  
>  		/*


Reviewed-by: Patrice Chotard <patrice.chotard@st.com>

Thanks

Patrice

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] clk: clk-flexgen: fix clock-critical handling
  2020-03-22 14:07 [PATCH] clk: clk-flexgen: fix clock-critical handling Alain Volmat
  2020-03-23  9:20 ` Patrice CHOTARD
@ 2020-05-27  8:14 ` Stephen Boyd
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Boyd @ 2020-05-27  8:14 UTC (permalink / raw)
  To: Alain Volmat, lee.jones, linux-clk, linux-kernel, mturquette
  Cc: patrice.chotard, avolmat

Quoting Alain Volmat (2020-03-22 07:07:40)
> Fixes an issue leading to having all clocks following a critical
> clocks marked as well as criticals.
> 
> Fixes: fa6415affe20 ("clk: st: clk-flexgen: Detect critical clocks")
> 
> Signed-off-by: Alain Volmat <avolmat@me.com>
> ---

Applied to clk-next

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-27  8:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-22 14:07 [PATCH] clk: clk-flexgen: fix clock-critical handling Alain Volmat
2020-03-23  9:20 ` Patrice CHOTARD
2020-05-27  8:14 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).