1. 20 4月, 2017 1 次提交
  2. 21 1月, 2017 1 次提交
    • J
      iwlwifi: fix kernel crash when unregistering thermal zone · 92549cdc
      Jens Axboe 提交于
      A recent firmware change seems to have enabled thermal zones on the
      iwlwifi driver. Unfortunately, my device fails when registering the
      thermal zone. This doesn't stop the driver from attempting to unregister
      the thermal zone at unload time, triggering a NULL pointer deference in
      strlen() off the thermal_zone_device_unregister() path.
      
      Don't unregister if name is NULL, for that case we failed registering.
      Do the same for the cooling zone.
      Signed-off-by: NJens Axboe <axboe@fb.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      92549cdc
  3. 27 9月, 2016 1 次提交
  4. 11 5月, 2016 1 次提交
  5. 30 3月, 2016 3 次提交
  6. 10 3月, 2016 2 次提交
  7. 07 3月, 2016 1 次提交
    • E
      iwlwifi: mvm: avoid panics with thermal device usage · 91f66a3c
      Emmanuel Grumbach 提交于
      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: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      91f66a3c
  8. 28 2月, 2016 3 次提交
  9. 01 2月, 2016 1 次提交
  10. 08 1月, 2016 1 次提交
  11. 02 12月, 2015 1 次提交
  12. 18 11月, 2015 1 次提交
  13. 25 10月, 2015 1 次提交
  14. 05 10月, 2015 1 次提交
  15. 05 8月, 2015 1 次提交
  16. 04 8月, 2015 1 次提交
  17. 29 4月, 2015 1 次提交
  18. 29 12月, 2014 1 次提交
  19. 11 11月, 2014 2 次提交
  20. 29 10月, 2014 1 次提交
  21. 16 9月, 2014 1 次提交
  22. 14 9月, 2014 1 次提交
  23. 04 9月, 2014 3 次提交
  24. 21 7月, 2014 2 次提交
  25. 13 5月, 2014 1 次提交
  26. 13 4月, 2014 2 次提交
  27. 04 2月, 2014 1 次提交
  28. 01 1月, 2014 1 次提交
  29. 18 12月, 2013 1 次提交
    • A
      iwlwifi: trans: divide stop_hw into stop_device/op_mode_leave · a4082843
      Arik Nemtsov 提交于
      The stop_hw trans callback is not well defined. It is missing in many
      cleanup flows and the division of labor between stop_device/stop_hw
      is cumbersome. Remove stop_hw and use stop_device to perform both.
      Implement this for all current transports.
      
      PCIE needs some extra configuration the op-mode is leaving to configure
      RF kill. Expose this explicitly as a new op_mode_leave trans callback.
      Take the call to stop_device outside iwl_run_mvm_init_ucode, this
      makes more sense and WARN when we want to run the INIT firmware while
      it has run already.
      Signed-off-by: NArik Nemtsov <arik@wizery.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      a4082843
  30. 10 12月, 2013 1 次提交