Re: [RFC] cpufreq: Make sure target freq is within limits

2012-10-26 Thread Rafael J. Wysocki
On Thursday, October 25, 2012 12:03:34 PM Viresh Kumar wrote: > Hi Rafael, > > __cpufreq_driver_target() must not pass target frequency beyond the limits of > current policy. > > Today most of cpufreq platform drivers are doing this check in their target > routines. Why not move it to __cpufreq_d

[RFC] cpufreq: Make sure target freq is within limits

2012-10-24 Thread Viresh Kumar
Hi Rafael, __cpufreq_driver_target() must not pass target frequency beyond the limits of current policy. Today most of cpufreq platform drivers are doing this check in their target routines. Why not move it to __cpufreq_driver_target(). I wanted to get your opinion on this before making changes