cpufreq: tegra: update comment for clarity
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 10 Jun 2014 04:57:12 +0000 (10:27 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 10 Jun 2014 20:50:50 +0000 (22:50 +0200)
commit40cc5490132075d7be85a4483caa0a7264f45ed4
tree736d05bc242ec8a07e9638c3ca0fb2ba8e28106e
parent830bcac4e483d347087ed51eed564d1467e1e363
cpufreq: tegra: update comment for clarity

Tegra's driver got updated a bit (00917dd cpufreq: Tegra: implement intermediate
frequency callbacks) and implements new 'intermediate freq' infrastructure of
core. Above commit updated comments about when to call
clk_prepare_enable(pll_x_clk) and Doug wasn't satisfied with those comments and
said this:

> The "Though when target-freq is intermediate freq, we don't need to
> take this reference." makes me think that this function is actually
> called when target-freq is intermediate freq.  I don't think it is,
> right?

For better clarity just make that comment more explicit about when we call
tegra_target_intermediate().

Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reported-and-reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/tegra-cpufreq.c
This page took 0.042109 seconds and 5 git commands to generate.