Subject: [PATCH v2] ARM: OMAP: clocks: Delay clk inits atleast until slab is initialized

From: [email-masked] (Tony Lindgren)
Date: Wed, 27 Mar 2013 09:50:08 -0700

* Paul Walmsley <[email-masked]> [130326 22:01]:
> Hi
> 
> On Thu, 21 Mar 2013, Rajendra Nayak wrote:
> 
> > clk inits on OMAP happen quite early, even before slab is available.
> > The dependency comes from the fact that the timer init code starts to
> > use clocks and hwmod and we need clocks to be initialized by then.
> > 
> > There are various problems doing clk inits this early, one is,
> > not being able to do dynamic clk registrations and hence the
> > dependency on clk-private.h. The other is, inability to debug
> > early kernel crashes without enabling DEBUG_LL and earlyprintk.
> 
> ...
> 
> > Reported-by: Piotr Haber <[email-masked]>
> > Reported-by: Tony Lindgren <[email-masked]>
> > Signed-off-by: Rajendra Nayak <[email-masked]>
> 
> Thanks, looks good to me.  Nice patch description!
> 
> Acked-by: Paul Walmsley <[email-masked]>

I applied this into omap-for-v3.9-rc3/fixes, will send a pull request
for those today.

Regards,

Tony