Re: [RFC] clk: Make clk API return per-user struct clk instances

2014-10-03 Thread Tero Kristo
On 09/30/2014 09:16 PM, Tony Lindgren wrote: * Tero Kristo [140930 00:41]: On 09/30/2014 09:54 AM, Mike Turquette wrote: Quoting Stephen Boyd (2014-09-29 18:40:23) On 09/29/14 11:17, Tomeu Vizoso wrote: Also moves clock state to struct clk_core, but takes care to change as little API as poss

Re: [RFC] clk: Make clk API return per-user struct clk instances

2014-09-30 Thread Tony Lindgren
* Tero Kristo [140930 00:41]: > On 09/30/2014 09:54 AM, Mike Turquette wrote: > >Quoting Stephen Boyd (2014-09-29 18:40:23) > >>On 09/29/14 11:17, Tomeu Vizoso wrote: > >>>Also moves clock state to struct clk_core, but takes care to change as > >>>little > >>>API as possible. > >>> > >>>struct cl

Re: [RFC] clk: Make clk API return per-user struct clk instances

2014-09-30 Thread Russell King - ARM Linux
On Mon, Sep 29, 2014 at 08:17:23PM +0200, Tomeu Vizoso wrote: > diff --git a/drivers/clk/clkdev.c b/drivers/clk/clkdev.c > index da4bda8..ab22460 100644 > --- a/drivers/clk/clkdev.c > +++ b/drivers/clk/clkdev.c > @@ -168,14 +168,20 @@ static struct clk_lookup *clk_find(const char *dev_id, > const

Re: [RFC] clk: Make clk API return per-user struct clk instances

2014-09-30 Thread Tero Kristo
On 09/30/2014 09:54 AM, Mike Turquette wrote: Quoting Stephen Boyd (2014-09-29 18:40:23) On 09/29/14 11:17, Tomeu Vizoso wrote: Also moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still has a pointer to a struct clk, which is the impleme

Re: [RFC] clk: Make clk API return per-user struct clk instances

2014-09-29 Thread Mike Turquette
Quoting Stephen Boyd (2014-09-29 18:40:23) > On 09/29/14 11:17, Tomeu Vizoso wrote: > > Also moves clock state to struct clk_core, but takes care to change as > > little > > API as possible. > > > > struct clk_hw still has a pointer to a struct clk, which is the > > implementation's per-user clk i

Re: [RFC] clk: Make clk API return per-user struct clk instances

2014-09-29 Thread Stephen Boyd
On 09/29/14 11:17, Tomeu Vizoso wrote: > Also moves clock state to struct clk_core, but takes care to change as little > API as possible. > > struct clk_hw still has a pointer to a struct clk, which is the > implementation's per-user clk instance, for backwards compatibility. > > Signed-off-by: Tom

[RFC] clk: Make clk API return per-user struct clk instances

2014-09-29 Thread Tomeu Vizoso
Also moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still has a pointer to a struct clk, which is the implementation's per-user clk instance, for backwards compatibility. Signed-off-by: Tomeu Vizoso --- Hello, I'm sending this alternate