diff options
author | Kalle Valo <quic_kvalo@quicinc.com> | 2024-02-23 18:20:33 +0300 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2024-02-23 18:52:08 +0300 |
commit | 50556081e09b9e2b75a215694dd2d166de611f56 (patch) | |
tree | 4704c4320e4f20151023a2aeffb557f9011c565b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 361c90ed3647952fa01b3a4240129de077b4ce60 (diff) | |
download | linux-50556081e09b9e2b75a215694dd2d166de611f56.tar.xz |
wifi: ath11k: thermal: don't try to register multiple times
Every time the firmware boots we call ath11k_core_qmi_firmware_ready() which
ends up calling ath11k_thermal_register(). So we try to register thermal
devices multiple times. And when we power off the firmware during
suspend/hibernation (implemented in the next patch) we get a warning in resume:
hwmon hwmon4: PM: parent phy0 should not be sleeping
Workaround this similarly like ath11k_mac_register() does by testing
ATH11K_FLAG_REGISTERED.
Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.30
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Link: https://msgid.link/20240221024725.10057-6-quic_bqiang@quicinc.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions