1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
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 iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
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 wifi: iwlwifi: Generalize the parsing of the pnvm image 2023-06-06 13:43:06 +02:00
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 wifi: iwlwifi: debug: fix crash in __iwl_err() 2023-04-13 16:29:58 +02:00
iwl-debug.h iwlwifi: allow rate-limited error messages 2021-10-22 10:49:03 +03:00
iwl-devtrace-data.h wifi: iwlwifi: refactor RX tracing 2023-12-12 10:36:59 +01:00
iwl-devtrace-io.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
iwl-devtrace-iwlwifi.h wifi: iwlwifi: refactor RX tracing 2023-12-12 10:36:59 +01:00
iwl-devtrace-msg.h tracing/iwlwifi: Use the new __vstring() helper 2022-07-15 17:44:40 -04:00
iwl-devtrace-ucode.h iwlwifi: remove contact information 2021-10-22 10:48:59 +03:00
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 iwlwifi: eeprom: clean up macros 2022-02-18 10:40:53 +02:00
iwl-eeprom-read.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-fh.h wifi: iwlwifi: fix some kernel-doc issues 2023-09-11 12:36:26 +02:00
iwl-io.c wifi: iwlwifi: unify checks for HW error values 2023-06-14 12:32:18 +02:00
iwl-io.h iwlwifi: remove redundant iwl_finish_nic_init() argument 2021-10-22 10:49:02 +03:00
iwl-modparams.h wifi: iwlwifi: mvm: Advertise EHT capabilities 2022-11-28 17:52:51 +02:00
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 iwlwifi: remove unused macros 2022-02-18 10:40:53 +02:00
iwl-phy-db.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
iwl-prph.h wifi: iwlwifi: add support for SNPS DPHYIP region type 2023-10-23 12:48:28 +02:00
iwl-scd.h iwlwifi: use SPDX tags 2020-12-10 00:15:31 +02:00
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