1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless
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
..
admtek wifi: mac80211: add wake_tx_queue callback to drivers 2022-10-10 11:00:03 +02:00
ath wifi: mac80211: rework RX timestamp flags 2023-12-21 20:35:15 +01:00
atmel wifi: atmel: remove wext style at76c50x drivers 2023-10-30 19:27:49 +02:00
broadcom USB / Thunderbolt changes for 6.8-rc1 2024-01-18 11:43:55 -08:00
intel iwlwifi: mvm: Populate trip table before registering thermal zone 2024-02-08 14:54:55 +01:00
intersil wifi: remove orphaned orinoco driver 2023-10-30 19:29:52 +02:00
marvell USB / Thunderbolt changes for 6.8-rc1 2024-01-18 11:43:55 -08:00
mediatek Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-12-21 22:17:23 +01:00
microchip wifi: wilc1000: simplify wilc_scan() 2023-11-08 20:07:55 +02:00
purelifi wifi: plfxlc: check for allocation failure in plfxlc_usb_wreq_async() 2023-11-08 20:04:53 +02:00
quantenna wifi: cfg80211: split struct cfg80211_ap_settings 2023-09-25 09:00:39 +02:00
ralink wifi: rt2x00: remove useless code in rt2x00queue_create_tx_descriptor() 2023-12-15 15:40:26 +02:00
realtek wifi: rtlwifi: rtl8723{be,ae}: using calculate_bit_shift() 2023-12-21 16:40:18 +02:00
rsi wifi: rsi: rsi_91x_usb_ops: Remove unnecessary (void*) conversions 2023-08-23 14:07:16 +03:00
silabs wifi: wfx: fix possible NULL pointer dereference in wfx_set_mfp_ap() 2023-12-12 17:33:49 +02:00
st wifi: mac80211: rename ieee80211_tx_status() to ieee80211_tx_status_skb() 2023-10-23 12:26:51 +02:00
ti wifi: wlcore: main: replace deprecated strncpy with strscpy 2023-10-23 20:29:46 +03:00
virtual wifi: mac80211_hwsim: Add custom reg for DFS concurrent 2023-12-21 20:35:14 +01:00
zydas wifi: remove orphaned zd1201 driver 2023-10-30 19:29:52 +02:00
Kconfig wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00
Makefile wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00