summaryrefslogtreecommitdiff
path: root/drivers/crypto/img-hash.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2019-09-18 16:49:03 +0300
committerKalle Valo <kvalo@codeaurora.org>2019-09-19 21:58:12 +0300
commit2d88b2cf2f002417cd7436f0fd34716e8c288fb1 (patch)
tree84e074681b57c011df9e4d015f3273e252327ccc /drivers/crypto/img-hash.c
parent280ceaed79f18db930c0cc8bb21f6493490bf29c (diff)
iwlwifi: mvm: fix build w/o CONFIG_THERMAL
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: 242d9c8b9a93 ("iwlwifi: mvm: use FW thermal monitoring regardless of CONFIG_THERMAL") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/crypto/img-hash.c')
0 files changed, 0 insertions, 0 deletions