lkml.org 
[lkml]   [2020]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 10/14] cpufreq: dt: Allow platform specific intermediate callbacks
On 19-02-20, 09:41, Peng Fan wrote:
> In drivers/cpufreq/cpufreq.c, function __target_index. Line 2065, see below:
>
> 2062 notify = !(cpufreq_driver->flags & CPUFREQ_ASYNC_NOTIFICATION);
> 2063 if (notify) {
> 2064 /* Handle switching to intermediate frequency */
> 2065 if (cpufreq_driver->get_intermediate) {
> 2066 retval = __target_intermediate(policy, &freqs, index);
> 2067 if (retval)
> 2068 return retval;
> 2069
> 2070 intermediate_freq = freqs.new;
> 2071 /* Set old freq to intermediate */
> 2072 if (intermediate_freq)
> 2073 freqs.old = freqs.new;
> 2074 }
>
> Inspired from tegra20-cpufreq.c, use target_intermediate could handle
> i.MX7ULP cpufreq easier.

Ahh, sorry about that. Completely forgot this stuff existed :)

--
viresh

\
 
 \ /
  Last update: 2020-02-19 10:46    [W:0.045 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site