commit | f89f4147f76f91bfff6f32890fc34148178f144d | [log] [tgz] |
---|---|---|
author | Hoan Tran <hotran@apm.com> | Wed Sep 14 16:08:28 2016 -0700 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Sep 16 23:59:19 2016 +0200 |
tree | 24b79bb78cb49335c3060f200b69b96a044ab150 | |
parent | e01072d22d4e7f9ca966f848def22fe41eaef4de [diff] |
cpufreq: CPPC: Avoid overflow when calculating desired_perf This patch fixes overflow issue when calculating the desired_perf. Fixes: ad38677df44b (cpufreq: CPPC: Force reporting values in KHz to fix user space interface) Signed-off-by: Hoan Tran <hotran@apm.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>