Re: [PATCH v3 1/2] clk: track the orphan status of clocks and their children

2015-04-30 Thread Stephen Boyd
On 04/22, Heiko Stuebner wrote: > @@ -1401,18 +1402,40 @@ static int clk_fetch_parent_index(struct clk_core > *clk, > return -EINVAL; > } > > +/* > + * Update the orphan status of @clk and all its children. > + */ > +static void clk_core_update_orphan_status(struct clk_core *clk, bool >

Re: [PATCH v3 1/2] clk: track the orphan status of clocks and their children

2015-04-30 Thread Stephen Boyd
On 04/22, Heiko Stuebner wrote: @@ -1401,18 +1402,40 @@ static int clk_fetch_parent_index(struct clk_core *clk, return -EINVAL; } +/* + * Update the orphan status of @clk and all its children. + */ +static void clk_core_update_orphan_status(struct clk_core *clk, bool

[PATCH v3 1/2] clk: track the orphan status of clocks and their children

2015-04-22 Thread Heiko Stuebner
While children of orphan clocks are not carried in the orphan-list itself, they're nevertheless orphans in their own right as they also don't have an input-rate available. To ease tracking if a clock is an orphan or has an orphan in its parent path introduce an orphan field into struct clk and

[PATCH v3 1/2] clk: track the orphan status of clocks and their children

2015-04-22 Thread Heiko Stuebner
While children of orphan clocks are not carried in the orphan-list itself, they're nevertheless orphans in their own right as they also don't have an input-rate available. To ease tracking if a clock is an orphan or has an orphan in its parent path introduce an orphan field into struct clk and