Messages in this thread | | | Date | Mon, 25 Nov 2013 09:58:29 +0530 | Subject | Re: [PATCH V2 2/2] cpufreq: Change freq before suspending governors | From | Viresh Kumar <> |
| |
On 25 November 2013 03:02, Rafael J. Wysocki <rjw@rjwysocki.net> wrote: > Viresh, maybe make it possible for the cpufreq driver to provide suspend/resume > callbacks to be executed by cpufreq_suspend() and cpufreq_resume() introduced > by [1/2]? Then Tegra could set the frequencies to what it wants from there > before the governors are stopped.
Giving cpufreq-drivers a chance to do whatever they want looks to be correct. So, maybe prepare() or suspend_prepare() for them can be implemented.
Though I would still go for a generic function in core, which can be just reused by samsung and tegra to set cores to specific frequencies.
-- viresh
| |