summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorKonrad Dybcio <konrad.dybcio@somainline.org>2021-12-30 05:32:53 +0300
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-03-11 20:57:35 +0300
commit9d85fb73a31bb67e5b738e8732eaaebdadf665fe (patch)
tree9021f4c4af4b28a5f9d7d2aa0ae4384ad8851740 /drivers
parent26291c54e111ff6ba87a164d85d4a4e134b7315c (diff)
downloadlinux-9d85fb73a31bb67e5b738e8732eaaebdadf665fe.tar.xz
rpmsg: qcom_smd: Promote to arch_initcall
qcom_smd's only child, smd-rpm uses arch_initcall and both have to be up before almost anything else to ensure the MSM SoCs will work fine and nothing will have to resort to probe defering, as this is the main pillar of all things DVFS on these machines. Promote it to arch_initcall to avoid such issues. Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211230023253.1123142-1-konrad.dybcio@somainline.org
Diffstat (limited to 'drivers')
-rw-r--r--drivers/rpmsg/qcom_smd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rpmsg/qcom_smd.c b/drivers/rpmsg/qcom_smd.c
index 540e027f08c4..2d44156b8103 100644
--- a/drivers/rpmsg/qcom_smd.c
+++ b/drivers/rpmsg/qcom_smd.c
@@ -1605,7 +1605,7 @@ static int __init qcom_smd_init(void)
{
return platform_driver_register(&qcom_smd_driver);
}
-subsys_initcall(qcom_smd_init);
+arch_initcall(qcom_smd_init);
static void __exit qcom_smd_exit(void)
{