archive mirror
 help / color / mirror / Atom feed
From: Stephen Boyd <>
To: Jerome Brunet <>,
	Michael Turquette <>
Cc: Jerome Brunet <>,
	Kevin Hilman <>,,,, Jian Hu <>
Subject: Re: [PATCH v2] clk: walk orphan list on clock provider registration
Date: Thu, 12 Dec 2019 18:54:34 -0800	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Quoting Jerome Brunet (2019-12-03 00:08:05)
> So far, we walked the orphan list every time a new clock was registered
> in CCF. This was fine since the clocks were only referenced by name.
> Now that the clock can be referenced through DT, it is not enough:
> * Controller A register first a reference clocks from controller B
>   through DT.
> * Controller B register all its clocks then register the provider.
> Each time controller B registers a new clock, the orphan list is walked
> but it can't match since the provider is registered yet. When the
> provider is finally registered, the orphan list is not walked unless
> another clock is registered afterward.
> This can lead to situation where some clocks remain orphaned even if
> the parent is available.
> Walking the orphan list on provider registration solves the problem.
> Reported-by: Jian Hu <>
> Fixes: fc0c209c147f ("clk: Allow parents to be specified without string names")
> Signed-off-by: Jerome Brunet <>
> ---

Applied to clk-fixes

      reply	other threads:[~2019-12-13  2:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-03  8:08 Jerome Brunet
2019-12-13  2:54 ` Stephen Boyd [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH v2] clk: walk orphan list on clock provider registration' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).