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

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

Merge "msm: spm_devices: Check for L2 SPM's core id"

parents b95484fb 7356c89a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -437,7 +437,7 @@ static struct msm_spm_device *msm_spm_get_device(struct platform_device *pdev)

	if ((cpu >= 0) && cpu < num_possible_cpus()) {
		dev = &per_cpu(msm_cpu_spm_device, cpu);
	} else {
	} else if (cpu == 0xffff) {
		dev = devm_kzalloc(&pdev->dev, sizeof(struct msm_spm_device),
				GFP_KERNEL);
		msm_spm_l2_device = dev;