diff options
author | Tuukka Tikkanen <tuukka.tikkanen@linaro.org> | 2015-01-22 03:38:11 +0200 |
---|---|---|
committer | Tuukka Tikkanen <tuukka.tikkanen@linaro.org> | 2015-01-22 03:44:42 +0200 |
commit | 7f365110226a5cb350df98dc7270e851093c8668 (patch) | |
tree | a82bccbd027c333e3bc5e8faef17d96d959f610d /ops_head.c | |
parent | 946d1fbdbef5fd01dfb1c56f392031a9807dc744 (diff) |
Fix P-state calculations
alloc_pstate() searched the array of existing frequencies as if
the frequencies were in descending order (by frequency) but
then inserted the new frequency as if the frequencies were
to be sorted into ascending order. The search order was changed
to ascending order.
cluster_get_highest_freq() actually returned the lowest active
frequency in the cluster. core_get_highest_freq() acted in the
similar way. These have been fixed.
Signed-off-by: Tuukka Tikkanen <tuukka.tikkanen@linaro.org>
Diffstat (limited to 'ops_head.c')
0 files changed, 0 insertions, 0 deletions