Commit 2a908aa8 authored by Lina Iyer's avatar Lina Iyer Committed by Amit Kucheria
Browse files

drivers: thermal: Initialize thermal core earlier



CPUFreq drivers are available as part of subsys_initcall. In order to
facilitate thermal mitigation as early as possible in the boot cycle, move
the thermal framework initialization to subsys_initcall.

However, netlink initialization happens only as part of subsys_initcall.
At this time in the boot process, the userspace would not be available
though. So initialize the netlink events later in fs_initcall.

Signed-off-by: default avatarLina Iyer <ilina@codeaurora.org>
Signed-off-by: default avatarAmit Kucheria <amit.kucheria@linaro.org>
parent f74c2bb9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment