aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBaochen Qiang <quic_bqiang@quicinc.com>2025-03-28 13:32:25 +0800
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2025-03-31 14:43:12 -0700
commit3d2ce6ad9126b96a721542c6299a2f0967b5a63f (patch)
treee9d545f8457d88bba0abe3c7832c1f7d50d82cac /tools/perf/scripts/python
parentwifi: ath11k: determine PM policy based on machine model (diff)
downloadlinux-3d2ce6ad9126b96a721542c6299a2f0967b5a63f.tar.gz
linux-3d2ce6ad9126b96a721542c6299a2f0967b5a63f.zip
wifi: ath11k: introduce ath11k_core_continue_suspend_resume()
Currently ath11k_core_suspend() and ath11k_core_resume() have the same check before going on. In upcoming patches the check is needed by some newly added functions as well. To avoid duplicate code, introduce a new helper ath11k_core_continue_suspend_resume() which does such check internally. Callers can decide whether to go on based on its return value. Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.30 Tested-by: Muhammad Usama Anjum <usama.anjum@collabora.com> Tested-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com> Link: https://patch.msgid.link/20250328-ath11k-bring-hibernation-back-v3-2-23405ae23431@quicinc.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions