Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e8201645 authored by Sujeev Dias's avatar Sujeev Dias
Browse files

mhi: mhi_core: move mhi from module_Init to subsys_init



MHI clients expects MHI to finish initializing before clients
probe. Move MHI to subsys init to guarantee MHI will finish
executing before device drivers with module_init starts.

CRs-Fixed: 2006891
Change-Id: I44e3612721fdc247c8c083f74736a1b1bcfc962e
Signed-off-by: default avatarSujeev Dias <sdias@codeaurora.org>
parent 65d8df76
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -557,7 +557,7 @@ DECLARE_PCI_FIXUP_HEADER(MHI_PCIE_VENDOR_ID,


module_exit(mhi_exit);
module_init(mhi_init);
subsys_initcall(mhi_init);

MODULE_LICENSE("GPL v2");
MODULE_ALIAS("MHI_CORE");