Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe-ppc32
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomaixenomai
  • ipipe-ppc32
  • Repository
Switch branch/tag
  • ipipe-ppc32
  • drivers
  • cpufreq
  • cpufreq.c
Find file BlameHistoryPermalink
  • Viresh Kumar's avatar
    cpufreq: propagate errors returned from __cpufreq_governor() · 4bc384ae
    Viresh Kumar authored Jul 18, 2015
    
    
    Return codes aren't honored properly in cpufreq_set_policy(). This can
    lead to two problems:
    - wrong errors propagated to sysfs
    - we try to do next state-change even if the previous one failed
    
    cpufreq_governor_dbs() now returns proper errors on all invalid
    state-transition requests and this code should honor that.
    
    Reviewed-and-tested-by: default avatarPreeti U Murthy <preeti@linux.vnet.ibm.com>
    Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    4bc384ae

Imprint & Privacy Policy