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

Commit 1be2a3d2 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: Register for panic notifier on successful probe"

parents bc6da394 b220e250
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -4819,9 +4819,6 @@ int msm_thermal_pre_init(struct device *dev)
		goto pre_init_exit;
	}

	if (!tsens_temp_at_panic)
		msm_thermal_panic_notifier_init(dev);

	if (!thresh) {
		thresh = kzalloc(
				sizeof(struct threshold_info) * MSM_LIST_MAX_NR,
@@ -4978,6 +4975,7 @@ int msm_thermal_init(struct msm_thermal_data *pdata)
		cpus_previously_online_update();
		register_cpu_notifier(&msm_thermal_cpu_notifier);
	}
	msm_thermal_panic_notifier_init(&pdata->pdev->dev);

	return ret;
}