Re: [PATCH v6 3/8] ARM: sunxi: Move the clock protection to machine hooks

2014-05-12 Thread Mike Turquette
Quoting Arnd Bergmann (2014-04-23 06:31:06) > On Wednesday 23 April 2014 15:17:20 Maxime Ripard wrote: > > > > +#include > > > > #include > > > > #include > > > > > > > > @@ -19,9 +20,17 @@ > > > > > > > > static void __init sun4i_dt_init(void) > > > > { > > > > + struct clk *clk;

Re: [PATCH v6 3/8] ARM: sunxi: Move the clock protection to machine hooks

2014-04-23 Thread Arnd Bergmann
On Wednesday 23 April 2014 15:17:20 Maxime Ripard wrote: > > > +#include > > > #include > > > #include > > > > > > @@ -19,9 +20,17 @@ > > > > > > static void __init sun4i_dt_init(void) > > > { > > > + struct clk *clk; > > > + > > > sunxi_setup_restart(); > > > > > >

Re: [PATCH v6 3/8] ARM: sunxi: Move the clock protection to machine hooks

2014-04-23 Thread Maxime Ripard
On Wed, Apr 23, 2014 at 02:39:02PM +0200, Arnd Bergmann wrote: > On Thursday 17 April 2014, Maxime Ripard wrote: > > Since we start to have a lot of clocks to protect, some of them in a few > > boards > > only, it becomes difficult to handle the clock protection without having to > > add > > per

Re: [PATCH v6 3/8] ARM: sunxi: Move the clock protection to machine hooks

2014-04-23 Thread Arnd Bergmann
On Thursday 17 April 2014, Maxime Ripard wrote: > Since we start to have a lot of clocks to protect, some of them in a few > boards > only, it becomes difficult to handle the clock protection without having to > add > per machine exceptions. > > Move these where they belong, in the machine defin