Skip to content

Commit

Permalink
rpmsg: qcom_smd: Promote to arch_initcall
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Konrad Dybcio authored and Bjorn Andersson committed Mar 11, 2022
1 parent 26291c5 commit 9d85fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rpmsg/qcom_smd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 9d85fb7

Please sign in to comment.