Skip to content
GitLab
  • Menu
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
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe-ppc32
  • Repository
Switch branch/tag
  • ipipe-ppc32
  • drivers
  • cpufreq
  • cpufreq.c
Find file BlameHistoryPermalink
  • Viresh Kumar's avatar
    cpufreq: Disallow ->resolve_freq() for drivers providing ->target_index() · abe8bd02
    Viresh Kumar authored Jul 21, 2016
    The handlers provided by cpufreq core are sufficient for resolving the
    frequency for drivers providing ->target_index(), as the core already
    has the frequency table and so ->resolve_freq() isn't required for such
    platforms.
    
    This patch disallows drivers with ->target_index() callback to use the
    ->resolve_freq() callback.
    
    Also, it fixes a potential kernel crash for drivers providing ->target()
    but no ->resolve_freq().
    
    Fixes: e3c06236
    
     "cpufreq: add cpufreq_driver_resolve_freq()"
    Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    abe8bd02

Imprint & Privacy Policy