Commit 6c21df79 authored by Amit Kucheria's avatar Amit Kucheria Committed by Ondrej Kubik
Browse files

drivers: thermal: Initialize thermal core earlier



Modern devices have two contradictory boot requirements - boot as
quickly as possible (which often means runs as fast as possible) while
staying under the thermal envelope.

Now that we've moved cpufreq initialisation and supported platform
drivers to core_initcall, let us move the thermal framework
initialization earlier too.

However, netlink initialization happens only as part of fs_initcall so
it has a userspace available. Initialize netlink events separately,
later in the boot process.

Originally-by: default avatarLina Iyer <ilina@codeaurora.org>
Signed-off-by: default avatarAmit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: default avatarOndrej Kubik <ondrej.kubik@canonical.com>
parent 4a70b99f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment