1. 23 3月, 2016 2 次提交
    • R
      cpufreq: Introduce cpufreq_update_current_freq() · 999f5729
      Rafael J. Wysocki 提交于
      Move the part of cpufreq_update_policy() that obtains the current
      frequency from the driver and updates policy->cur if necessary to
      a separate function, cpufreq_get_current_freq().
      
      That should not introduce functional changes and subsequent change
      set will need it.
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
      999f5729
    • R
      cpufreq: Introduce cpufreq_start_governor() · 0a300767
      Rafael J. Wysocki 提交于
      Starting a governor in cpufreq always follows the same pattern
      involving two calls to cpufreq_governor(), one with the event
      argument set to CPUFREQ_GOV_START and one with that argument set to
      CPUFREQ_GOV_LIMITS.
      
      Introduce cpufreq_start_governor() that will carry out those two
      operations and make all places where governors are started use it.
      
      That slightly modifies the behavior of cpufreq_set_policy() which
      now also will go back to the old governor if the second call to
      cpufreq_governor() (the one with event equal to CPUFREQ_GOV_LIMITS)
      fails, but that really is how it should work in the first place.
      
      Also cpufreq_resume() will now pring an error message if the
      CPUFREQ_GOV_LIMITS call to cpufreq_governor() fails, but that
      makes it follow cpufreq_add_policy_cpu() and cpufreq_offline()
      in that respect.
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
      0a300767
  2. 18 3月, 2016 1 次提交
  3. 11 3月, 2016 1 次提交
  4. 10 3月, 2016 1 次提交
  5. 09 3月, 2016 9 次提交
  6. 27 2月, 2016 1 次提交
  7. 22 2月, 2016 2 次提交
  8. 13 2月, 2016 1 次提交
  9. 05 2月, 2016 1 次提交
  10. 28 1月, 2016 1 次提交
  11. 01 1月, 2016 2 次提交
  12. 03 12月, 2015 1 次提交
  13. 24 11月, 2015 1 次提交
  14. 28 10月, 2015 5 次提交
  15. 14 10月, 2015 1 次提交
  16. 09 10月, 2015 1 次提交
  17. 16 9月, 2015 1 次提交
  18. 09 9月, 2015 1 次提交
  19. 08 9月, 2015 2 次提交
  20. 01 9月, 2015 5 次提交