Skip to content

Commit 0dc21f6

Browse files
asdfugilvireshk
authored andcommitted
cpufreq: apple-soc: Increase cluster switch timeout to 400us
Apple A11 SoC takes a long time to switch. Maximum switch time observed is 345us, so increase the cluster switch timeout to 400us to be safe. Signed-off-by: Nick Chan <towinchenmi@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
1 parent 55aac9f commit 0dc21f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/cpufreq/apple-soc-cpufreq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
#define APPLE_DVFS_PLL_FACTOR_MULT GENMASK(31, 16)
5454
#define APPLE_DVFS_PLL_FACTOR_DIV GENMASK(15, 0)
5555

56-
#define APPLE_DVFS_TRANSITION_TIMEOUT 100
56+
#define APPLE_DVFS_TRANSITION_TIMEOUT 400
5757

5858
struct apple_soc_cpufreq_info {
5959
bool has_ps2;

0 commit comments

Comments
 (0)