[PATCH 2/4] soc: mediatek: Init MT8173 scpsys driver earlier

James Liao
2015-12-30T10:12:08Z

Hi Arnd,

On Wed, 2015-12-30 at 09:52 +0100, Arnd Bergmann wrote:
> On Wednesday 30 December 2015 14:41:44 James Liao wrote:
> > Some power domain comsumers may init before module_init.
> > So the power domain provider (scpsys) need to be initialized
> > earlier too.
> >
> > Signed-off-by: James Liao <jamesjj.liao@mediatek.com>
> > ---
> >
>
> Why?

Some drivers use different init level to ensure they can be initialized
before other drivers. To support these drivers, moving scpsys driver's
initial function to subsys_init is the most easy way.

Best regards,

James