Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • I ipipe-ppc32
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Analytics
    • Analytics
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe-ppc32
  • Repository
  • ipipe-ppc32
  • drivers
  • cpufreq
  • cpufreq.c
Find file Blame History Permalink
  • Rafael J. Wysocki's avatar
    cpufreq: governor: CPUFREQ_GOV_LIMITS never fails · d6ff44d6
    Rafael J. Wysocki authored May 14, 2016
    
    
    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_LIMITS (unless invoked with incorrect arguments
    which doesn't matter anyway) and had it ever failed, the result of
    it wouldn't have been very clean.
    
    For this reason, rearrange the code in the core to ignore the return
    value of cpufreq_governor() when called with event equal to
    CPUFREQ_GOV_LIMITS.
    
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    d6ff44d6

Imprint & Privacy Policy