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

Commit df481da6 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: thermal: Proceed thermal late init only if probe is successful"

parents 68a1e536 111e0bd2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5268,6 +5268,9 @@ arch_initcall(msm_thermal_device_init);

int __init msm_thermal_late_init(void)
{
	if (!msm_thermal_probed)
		return 0;

	if (num_possible_cpus() > 1)
		msm_thermal_add_cc_nodes();
	msm_thermal_add_psm_nodes();