• Jon Hunter's avatar
    cpufreq: tegra194: Remove unnecessary frequency calculation · 93549516
    Jon Hunter authored
    The Tegra194 CPUFREQ driver sets the CPUFREQ_NEED_INITIAL_FREQ_CHECK
    flag which means that the CPUFREQ framework will call the 'get' callback
    on boot to determine the current frequency of the CPUs. Therefore, it is
    not necessary for the Tegra194 CPUFREQ driver to internally call the
    tegra194_get_speed_common() during initialisation to query the current
    frequency as well. Fix this by removing the call to the
    tegra194_get_speed_common() during initialisation and simplify the code.
    Signed-off-by: default avatarJon Hunter <jonathanh@nvidia.com>
    Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    93549516
tegra194-cpufreq.c 11.3 KB