aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorBaochen Qiang <[email protected]>2025-02-20 08:24:47 +0000
committerJeff Johnson <[email protected]>2025-06-07 14:36:03 +0000
commitc5b92a2c18938ebb08e8d4062408ab1524da31c3 (patch)
treef26ab81e85bbd565a6e4d6a0025b2d888e98741b /drivers/fpga/tests/fpga-mgr-test.c
parentwifi: ath11k: adjust unlock sequence in ath11k_update_stats_event() (diff)
downloadkernel-c5b92a2c18938ebb08e8d4062408ab1524da31c3.tar.gz
kernel-c5b92a2c18938ebb08e8d4062408ab1524da31c3.zip
wifi: ath11k: move locking outside of ath11k_mac_get_fw_stats()
Currently ath11k_mac_get_fw_stats() is acquiring/releasing ar->conf_mutex by itself. In order to reuse this function in a context where that lock is already taken, move lock handling to its callers, then the function itself only has to assert it. There is only one caller now, i.e., ath11k_mac_op_sta_statistics(), so add lock handling there. Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3.6510.37 Signed-off-by: Baochen Qiang <[email protected]> Reviewed-by: Vasanthakumar Thiagarajan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jeff Johnson <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions