firmware: qcom: scm: Change initcall to subsys
authorAndy Gross <andy.gross@linaro.org>
Sat, 2 Jul 2016 04:04:03 +0000 (23:04 -0500)
committerAndy Gross <andy.gross@linaro.org>
Tue, 5 Jul 2016 21:29:25 +0000 (16:29 -0500)
commit6c8e99d874c96200ce985d19b407d49ed3306226
tree3d1fc63bf5a8b0a4f12944413828e2aa8ae6ca6f
parent72d43419400f31d9eb634466446e3ceddce30be7
firmware: qcom: scm: Change initcall to subsys

The patch changes the initcall for SCM to use subsys_initcall
instead of arch_initcall.  This corrects the order so that we don't
probe defer when trying to get clks which causes issues later when
the spm driver makes calls to qcom_set_warm_boot_addr().

The order became an issue due to the changes to use arch_initcall_sync
for of_platform_default_populate_init().

Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/firmware/qcom_scm.c