diff options
| author | 2026-07-20 09:25:10 +0200 | |
|---|---|---|
| committer | 2026-07-23 09:40:57 +0530 | |
| commit | 391b4b1d5476a39058bdd24d9c69430386f79659 (patch) | |
| tree | 43c78ef6e3fe7b6143a615e8553ad1d55d59836b /tools/lib/python/kdoc/python_version.py | |
| parent | cpufreq: spear: Fix an IS_ERR() vs NULL bug in spear1340_set_cpu_rate() (diff) | |
cpufreq: apple-soc: Calculate frequency as a 64-bit value
The current frequency calculation is done in 32 bit, causing problems
if run on a future SoC that can boost higher than 4.2GHz. Ideally, we
should use a true u64 instead of unsigned long and "knowning" that this
only runs on 64 bit machines, but the core code uses ulong everywhere,
so this should be good enough.
Signed-off-by: Sasha Finkelstein <k@chaosmail.tech>
Reviewed-by: Joshua Peisach <jpeisach@ubuntu.com>
Reviewed-by: Zhongqiu Han <zhongqiu.han@oss.qualcomm.com>
Reviewed-by: Janne Grunau <j@jannau.net>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
