Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-dm
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-dm
  • Repository
Switch branch/tag
  • linux-dm
  • ..
  • mvm
  • tt.c
Find file BlameHistoryPermalink
  • Johannes Berg's avatar
    iwlwifi: mvm: fix build w/o CONFIG_THERMAL · 2d88b2cf
    Johannes Berg authored Sep 18, 2019
    Without CONFIG_THERMAL, the driver fails to link as it calls
    iwl_mvm_send_temp_report_ths_cmd() unconditionally. Fix this
    by making that function available, but do almost nothing but
    send the empty firmware command to enable CT-kill reporting.
    
    While at it, also fix that function itself to not error out
    when the thermal zone hasn't been initialized, but instead
    just send the empty firmware command in this case as well.
    
    Fixes: 242d9c8b
    
     ("iwlwifi: mvm: use FW thermal monitoring regardless of CONFIG_THERMAL")
    Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
    Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
    Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
    2d88b2cf