Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1400473
| From | Viresh Kumar <viresh.kumar@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] cpufreq: governor: CPUFREQ_GOV_STOP never fails |
| Date | 2016-05-13 05:20 +0200 |
| Message-ID | <rybNT-2U0-5@gated-at.bofh.it> (permalink) |
| References | <rxYH0-6wa-15@gated-at.bofh.it> <rxYH0-6wa-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 12-05-16, 15:14, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > > None of the cpufreq governors currently in the tree will ever fail > an invocation of the ->governor() callback with the event argument > equal to CPUFREQ_GOV_STOP (unless invoked with incorrect arguments > which doesn't matter anyway) and it is rather difficult to imagine > a valid reason for such a failure. > > Accordingly, rearrange the code in the core to make it clear that > this call never fails. > > Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> > --- > drivers/cpufreq/cpufreq.c | 40 +++++++++++----------------------------- > 1 file changed, 11 insertions(+), 29 deletions(-) Acked-by: Viresh Kumar <viresh.kumar@linaro.org> -- viresh
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 2/2] cpufreq: governor: CPUFREQ_GOV_STOP never fails "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-05-12 15:20 +0200 Re: [PATCH 2/2] cpufreq: governor: CPUFREQ_GOV_STOP never fails Viresh Kumar <viresh.kumar@linaro.org> - 2016-05-13 05:20 +0200
csiph-web