Re: [PATCH v2 3/3] clk: Replace explicit clk assignment with __clk_hw_set_clk

2015-02-12 Thread Javier Martinez Canillas
Hello Stephen, On 02/12/2015 08:55 PM, Stephen Boyd wrote: > On 02/12/15 05:58, Javier Martinez Canillas wrote: >> >> The changes were made using the following cocinelle semantic patch: >> >> @i@ >> @@ >> >> @depends on i@ >> identifier dst; >> @@ >> >> - dst->clk = hw->clk; >> + __clk_hw_set_clk(

Re: [PATCH v2 3/3] clk: Replace explicit clk assignment with __clk_hw_set_clk

2015-02-12 Thread Stephen Boyd
On 02/12/15 05:58, Javier Martinez Canillas wrote: > The change in the clk API to return a per-user clock instance, moved > the clock state to struct clk_core so now the struct clk_hw .core field > is used instead of .clk for most operations. > > So for hardware clocks that needs to share the same

Re: [PATCH v2 3/3] clk: Replace explicit clk assignment with __clk_hw_set_clk

2015-02-12 Thread Robert Jarzmik
Javier Martinez Canillas writes: > The change in the clk API to return a per-user clock instance, moved > the clock state to struct clk_core so now the struct clk_hw .core field > is used instead of .clk for most operations. If the patchset makes it up to acceptance by Mike or Stephen, the clk-p

[PATCH v2 3/3] clk: Replace explicit clk assignment with __clk_hw_set_clk

2015-02-12 Thread Javier Martinez Canillas
The change in the clk API to return a per-user clock instance, moved the clock state to struct clk_core so now the struct clk_hw .core field is used instead of .clk for most operations. So for hardware clocks that needs to share the same clock state, both the .core and .clk pointers have to be ass