Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository

Switch branch/tag
  • xcap-capability-linux
  • drivers
  • thermal
  • cpu_cooling.c
Find file BlameHistoryPermalink
  • Lukasz Luba's avatar
    thermal: cpu_cooling: fix improper order during initialization · f840ab18
    Lukasz Luba authored May 31, 2016
    The freq_table array is not populated before calling
    thermal_of_cooling_register. The code which populates the freq table was
    introduced in commit f6859014.
    This should be done before registering new thermal cooling device.
    The log shows effects of this wrong decision.
    [    2.172614] cpu cpu1: Failed to get voltage for frequency 1984518656000: -34
    [    2.220863] cpu cpu0: Failed to get voltage for frequency 1984524416000: -34
    
    Cc: <stable@vger.kernel.org> # 3.19+
    Fixes: f6859014
    
     ("thermal: cpu_cooling: Store frequencies in descending order")
    Signed-off-by: default avatarLukasz Luba <lukasz.luba@arm.com>
    Acked-by: default avatarJavi Merino <javi.merino@arm.com>
    Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
    f840ab18

Replace cpu_cooling.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.