Re: [PATCH RFC v1 5/5] clk: introduce clk_core_enable_lock and clk_core_disable_lock functions

2015-05-04 Thread Dong Aisheng
On Thu, Apr 30, 2015 at 06:10:43PM -0700, Stephen Boyd wrote: > On 04/15, Dong Aisheng wrote: > > This can be usefully when clock core wants to enable/disable clocks. > > Then we don't have to convert the struct clk_core to struct clk to call > > clk_enable/clk_disable which is a bit un-align with

Re: [PATCH RFC v1 5/5] clk: introduce clk_core_enable_lock and clk_core_disable_lock functions

2015-05-04 Thread Dong Aisheng
On Thu, Apr 30, 2015 at 06:10:43PM -0700, Stephen Boyd wrote: On 04/15, Dong Aisheng wrote: This can be usefully when clock core wants to enable/disable clocks. Then we don't have to convert the struct clk_core to struct clk to call clk_enable/clk_disable which is a bit un-align with exist

Re: [PATCH RFC v1 5/5] clk: introduce clk_core_enable_lock and clk_core_disable_lock functions

2015-04-30 Thread Stephen Boyd
On 04/15, Dong Aisheng wrote: > This can be usefully when clock core wants to enable/disable clocks. > Then we don't have to convert the struct clk_core to struct clk to call > clk_enable/clk_disable which is a bit un-align with exist using. > > Cc: Mike Turquette > Cc: Stephen Boyd >

Re: [PATCH RFC v1 5/5] clk: introduce clk_core_enable_lock and clk_core_disable_lock functions

2015-04-30 Thread Stephen Boyd
On 04/15, Dong Aisheng wrote: This can be usefully when clock core wants to enable/disable clocks. Then we don't have to convert the struct clk_core to struct clk to call clk_enable/clk_disable which is a bit un-align with exist using. Cc: Mike Turquette mturque...@linaro.org Cc: Stephen

[PATCH RFC v1 5/5] clk: introduce clk_core_enable_lock and clk_core_disable_lock functions

2015-04-15 Thread Dong Aisheng
This can be usefully when clock core wants to enable/disable clocks. Then we don't have to convert the struct clk_core to struct clk to call clk_enable/clk_disable which is a bit un-align with exist using. Cc: Mike Turquette Cc: Stephen Boyd Signed-off-by: Dong Aisheng --- drivers/clk/clk.c |

[PATCH RFC v1 5/5] clk: introduce clk_core_enable_lock and clk_core_disable_lock functions

2015-04-15 Thread Dong Aisheng
This can be usefully when clock core wants to enable/disable clocks. Then we don't have to convert the struct clk_core to struct clk to call clk_enable/clk_disable which is a bit un-align with exist using. Cc: Mike Turquette mturque...@linaro.org Cc: Stephen Boyd sb...@codeaurora.org