ANDROID: Fix cpufreq stats table creation
authorAndres Oportus <andresoportus@google.com>
Thu, 11 May 2017 15:57:39 +0000 (08:57 -0700)
committerDanny Wood <danwood76@gmail.com>
Sun, 31 Mar 2019 08:48:08 +0000 (09:48 +0100)
commiteb67732db1616c920ad31cb65328717bbf33eb74
tree47045d97cca0170e4a106ab6dae6d1ce6cb3c690
parent12473bd6bb14d3e85302fbefbbaea6effa9666aa
ANDROID: Fix cpufreq stats table creation

cpufreq stats does not correctly supports multiple cpus per profile.
For instance Marlin/Sailfish per cpu stats struct does not get created
for all cpus (only one per policy).  This change does not provide full
support for multiple cpus per profile but allows stats creation per
cpu to allow b/34133340 to be completed.

Bug: 38244231
Bug: 34133340
Test: Boot Sailfish

Signed-off-by: Andres Oportus <andresoportus@google.com>
Change-Id: I72ea548a199f57ed841618b08b9c41e99b493376

Conflicts:
drivers/cpufreq/cpufreq_stats.c
Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
drivers/cpufreq/cpufreq_stats.c