Commit 6c8e99d8 authored by Andy Gross's avatar Andy Gross

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: default avatarAndy Gross <andy.gross@linaro.org>
parent 72d43419
......@@ -415,7 +415,7 @@ static int __init qcom_scm_init(void)
return platform_driver_register(&qcom_scm_driver);
}
arch_initcall(qcom_scm_init);
subsys_initcall(qcom_scm_init);
static void __exit qcom_scm_exit(void)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment