Re: [PATCH v3 7/8] clk: Make clk API return per-user struct clk instances

2014-10-13 Thread Tomeu Vizoso
On 10 October 2014 01:22, Stephen Boyd wrote: > On 10/09, Tomeu Vizoso wrote: >> arch/arm/mach-omap2/cclock3xxx_data.c | 108 -- >> arch/arm/mach-omap2/clock.h | 11 +- >> arch/arm/mach-omap2/clock_common_data.c | 5 +- >> drivers/clk/clk.c | 630 >> +++

Re: [PATCH v3 7/8] clk: Make clk API return per-user struct clk instances

2014-10-09 Thread Kodiak Furr
Kodiak Furr liked your message with Boxer for Android. On Oct 9, 2014 6:22 PM, Stephen Boyd wrote: > > On 10/09, Tomeu Vizoso wrote: > >  arch/arm/mach-omap2/cclock3xxx_data.c   | 108 -- > >  arch/arm/mach-omap2/clock.h |  11 +- > >  arch/arm/mach-omap2/clock_common_data.c |  

Re: [PATCH v3 7/8] clk: Make clk API return per-user struct clk instances

2014-10-09 Thread Stephen Boyd
On 10/09, Tomeu Vizoso wrote: > arch/arm/mach-omap2/cclock3xxx_data.c | 108 -- > arch/arm/mach-omap2/clock.h | 11 +- > arch/arm/mach-omap2/clock_common_data.c | 5 +- > drivers/clk/clk.c | 630 > > drivers/clk/clk.h

[PATCH v3 7/8] clk: Make clk API return per-user struct clk instances

2014-10-09 Thread Tomeu Vizoso
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. The struct clk that clk_get_parent() returns isn't owned by the caller, bu