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

Commit ab866c23 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "devfreq: memlat: Change number of array elements for holding core_stats"

parents ccce7f7c 3ebdc2df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -907,7 +907,7 @@ static int memlat_mon_probe(struct platform_device *pdev, bool is_compute)
		}
	}

	num_cpus = cpumask_weight(&mon->cpus);
	num_cpus = (cpumask_last(&mon->cpus) - cpumask_first(&mon->cpus)) + 1;

	hw = &mon->hw;
	hw->of_node = of_parse_phandle(dev->of_node, "qcom,target-dev", 0);