cpufreq: Tegra: implement intermediate frequency callbacks
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 2 Jun 2014 17:19:29 +0000 (22:49 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 5 Jun 2014 21:34:07 +0000 (23:34 +0200)
Tegra has been switching to intermediate frequency (pll_p_clk) forever.
CPUFreq core has better support for handling notifications for these
frequencies and so we can adapt Tegra's driver to it.

Also do a WARN() if clk_set_parent() fails while moving back to pll_x
as we should have atleast restored to earlier frequency on error.

Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

No differences found