]> asedeno.scripts.mit.edu Git - linux.git/commit
iwlwifi: mvm: use FW thermal monitoring regardless of CONFIG_THERMAL
authorJohannes Berg <johannes.berg@intel.com>
Tue, 11 Jun 2019 13:38:13 +0000 (15:38 +0200)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:16 +0000 (15:31 +0300)
commit242d9c8b9a9348ca3226323161b5e837937f830f
tree6415bc83fe3e185f0bfa79e675773408a045ba53
parent2e838c6f18db420e7fd3fd128418102f6bfe306c
iwlwifi: mvm: use FW thermal monitoring regardless of CONFIG_THERMAL

It doesn't make sense to use the FW thermal monitoring only if we
have CONFIG_THERMAL, because then we use the default thresholds
etc. which may be different from what the firmware implements, as
we don't maintain them in the driver now. Only the CTDP code needs
to actually be under CONFIG_THERMAL.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
drivers/net/wireless/intel/iwlwifi/mvm/mvm.h