]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq: apple-soc: Set fallback transition latency to APPLE_DVFS_TRANSITION_TIMEOUT
authorNick Chan <towinchenmi@gmail.com>
Wed, 18 Dec 2024 18:25:08 +0000 (02:25 +0800)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 23 Dec 2024 10:56:47 +0000 (16:26 +0530)
commit13b147b2a9f8a9a0b18eddd23abaf84d7bea80d1
tree39964d05f7939d8c3f2cb0449ba7b178857096c1
parent0dc21f609149b958ca8c010d17f9935ed9cc96fe
cpufreq: apple-soc: Set fallback transition latency to APPLE_DVFS_TRANSITION_TIMEOUT

The driver already assumes transitions will not take longer than
APPLE_DVFS_TRANSITION_TIMEOUT in apple_soc_cpufreq_set_target(), so it
makes little sense to set CPUFREQ_ETERNAL as the transition latency
when the transistion latency is not given by the opp-table.

Reviewed-by: Christian Loehle <christian.loehle@arm.com>
Signed-off-by: Nick Chan <towinchenmi@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/apple-soc-cpufreq.c