linux/drivers/net/wireless/intel/iwlwifi
Rafael J. Wysocki 61d8843754 iwlwifi: mvm: Populate trip table before registering thermal zone
The trip table in iwl_mvm_thermal_zone_register() is populated after
passing it to thermal_zone_device_register_with_trips(), so it may be
accessed (for instance, via sysfs) before it is ready.

To prevent that from happening, modify the function to populate the
trip table before calling thermal_zone_device_register_with_trips().

Also make the code use THERMAL_TEMP_INVALID as the "invalid temperature"
value which is also meaningful for the core.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Miri Korenblit <Miriam.rachel.korenblit@intel.com>
2024-02-08 14:54:55 +01:00
..
cfg wifi: iwlwifi: bump FW API to 86 for AX/BZ/SC devices 2023-10-23 12:49:30 +02:00
dvm wifi: iwlwifi: empty overflow queue during flush 2023-10-23 12:49:30 +02:00
fw wifi: iwlwifi: mvm: use the new command to clear the internal buffer 2023-12-21 20:35:17 +01:00
mei wifi: iwlwifi: mei: return error from register when not built 2023-10-23 12:21:47 +02:00
mvm iwlwifi: mvm: Populate trip table before registering thermal zone 2024-02-08 14:54:55 +01:00
pcie Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-01-04 18:06:46 -08:00
queue wifi: iwlwifi: empty overflow queue during flush 2023-10-23 12:49:30 +02:00
iwl-agn-hw.h
iwl-config.h wifi: iwlwifi: cleanup BT Shared Single Antenna code 2023-12-21 20:35:16 +01:00
iwl-context-info-gen3.h wifi: iwlwifi: update context info structure definitions 2023-09-13 16:11:40 +02:00
iwl-context-info.h
iwl-csr.h wifi: iwlwifi: Add rf_mapping of new wifi7 devices 2023-12-21 20:35:16 +01:00
iwl-dbg-tlv.c wifi: iwlwifi: mvm: add a debugfs hook to clear the monitor data 2023-12-12 10:36:59 +01:00
iwl-dbg-tlv.h wifi: iwlwifi: mvm: add a debugfs hook to clear the monitor data 2023-12-12 10:36:59 +01:00
iwl-debug.c
iwl-debug.h
iwl-devtrace-data.h wifi: iwlwifi: refactor RX tracing 2023-12-12 10:36:59 +01:00
iwl-devtrace-io.h
iwl-devtrace-iwlwifi.h wifi: iwlwifi: refactor RX tracing 2023-12-12 10:36:59 +01:00
iwl-devtrace-msg.h
iwl-devtrace-ucode.h
iwl-devtrace.c wifi: iwlwifi: refactor RX tracing 2023-12-12 10:36:59 +01:00
iwl-devtrace.h wifi: iwlwifi: refactor RX tracing 2023-12-12 10:36:59 +01:00
iwl-drv.c wifi: iwlwifi: add new RF support for wifi7 2023-10-23 12:26:26 +02:00
iwl-drv.h wifi: iwlwifi: fix some kernel-doc issues 2023-09-11 12:36:26 +02:00
iwl-eeprom-parse.c wifi: iwlwifi: mvm: support set_antenna() 2023-09-25 09:14:24 +02:00
iwl-eeprom-parse.h wifi: iwlwifi: fix some kernel-doc issues 2023-09-11 12:36:26 +02:00
iwl-eeprom-read.c
iwl-eeprom-read.h
iwl-fh.h wifi: iwlwifi: fix some kernel-doc issues 2023-09-11 12:36:26 +02:00
iwl-io.c
iwl-io.h
iwl-modparams.h
iwl-nvm-parse.c wifi: iwlwifi: Don't mark DFS channels as NO-IR 2023-12-21 20:35:16 +01:00
iwl-nvm-parse.h wifi: iwlwifi: mvm: support set_antenna() 2023-09-25 09:14:24 +02:00
iwl-op-mode.h wifi: iwlwifi: remove async command callback 2023-12-12 10:37:00 +01:00
iwl-phy-db.c
iwl-phy-db.h
iwl-prph.h wifi: iwlwifi: add support for SNPS DPHYIP region type 2023-10-23 12:48:28 +02:00
iwl-scd.h
iwl-trans.c wifi: iwlwifi: remove async command callback 2023-12-12 10:37:00 +01:00
iwl-trans.h wifi: iwlwifi: replace ENOTSUPP with EOPNOTSUPP 2023-12-21 20:35:17 +01:00
Kconfig wifi: iwlwifi: mvm: add dependency for PTP clock 2023-08-15 10:54:06 +02:00
Makefile wifi: iwlwifi: split 22000.c into multiple files 2023-06-21 14:07:00 +02:00