Re: [PATCH 1/5] clk: allow reentrant calls into the clk framework

2013-03-18 Thread Mike Turquette
Quoting Russell King - ARM Linux (2013-03-18 14:00:11) > On Mon, Mar 18, 2013 at 01:15:51PM -0700, Mike Turquette wrote: > > Quoting Ulf Hansson (2013-02-28 01:54:34) > > > On 28 February 2013 05:49, Mike Turquette wrote: > > > > @@ -703,10 +744,29 @@ int clk_enable(struct clk *clk) > > > >

Re: [PATCH 1/5] clk: allow reentrant calls into the clk framework

2013-03-18 Thread Russell King - ARM Linux
On Mon, Mar 18, 2013 at 01:15:51PM -0700, Mike Turquette wrote: > Quoting Ulf Hansson (2013-02-28 01:54:34) > > On 28 February 2013 05:49, Mike Turquette wrote: > > > @@ -703,10 +744,29 @@ int clk_enable(struct clk *clk) > > > unsigned long flags; > > > int ret; > > > > > > +

Re: [PATCH 1/5] clk: allow reentrant calls into the clk framework

2013-03-18 Thread Mike Turquette
Quoting Ulf Hansson (2013-02-28 01:54:34) > On 28 February 2013 05:49, Mike Turquette wrote: > > @@ -703,10 +744,29 @@ int clk_enable(struct clk *clk) > > unsigned long flags; > > int ret; > > > > + /* this call re-enters if it is from the same context */ > > + if (spin

Re: [RFC 1/1] clk: Add notifier support in clk_prepare_enable/clk_disable_unprepare

2013-03-18 Thread Ulf Hansson
On 15 March 2013 20:38, Stephen Warren wrote: > On 03/15/2013 06:33 AM, Ulf Hansson wrote: >> On 15 March 2013 13:06, Bill Huang wrote: >>> On Fri, 2013-03-15 at 18:08 +0800, Ulf Hansson wrote: > ... Some prerequisites; I think am in favor of using the clk API to trigger DVFS changes an