summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/mvm/nvm.c
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2016-02-28 10:15:08 +0200
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2016-03-06 22:01:32 +0200
commit91f66a3c672065a3aca387ca7e0028504bb8f457 (patch)
tree1a52a183c41716c38b87ec89d5575223f92f45f3 /drivers/net/wireless/intel/iwlwifi/mvm/nvm.c
parente5f91d91ac2e09f93f58ab8f6813d12f2b3afa03 (diff)
downloadlinux-91f66a3c672065a3aca387ca7e0028504bb8f457.tar.bz2
iwlwifi: mvm: avoid panics with thermal device usage
Thermal zone device registration can fail, and in this case we don't want to remove WiFi functionality. This is why the thermal zone registration function is void, and the flows continue even if the thermal zone device registration failed. Same applies for the cooling device. This means that we at least need to remember that the thermal zone device didn't register properly and take the minimal precautions to avoid panic'ing when we access it. This was missing. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/nvm.c')
0 files changed, 0 insertions, 0 deletions