diff options
| author | Jeff Johnson <quic_jjohnson@quicinc.com> | 2024-01-11 10:05:31 -0800 |
|---|---|---|
| committer | Kalle Valo <quic_kvalo@quicinc.com> | 2024-01-14 17:00:50 +0200 |
| commit | 2e82b5f09a97f1b98b885470c81c1248bec103af (patch) | |
| tree | f7fb487d60abe002ea8151dd13d2ea6c6696f816 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 59cf57ab3deea979ffc0a6f7c22f4331e59d32f0 (diff) | |
| download | linux-2e82b5f09a97f1b98b885470c81c1248bec103af.tar.gz linux-2e82b5f09a97f1b98b885470c81c1248bec103af.zip | |
wifi: ath12k: Add missing qmi_txn_cancel() calls
Per the QMI documentation "A client calling qmi_txn_init() must call
either qmi_txn_wait() or qmi_txn_cancel() to free up the allocated
resources."
Unfortunately, in most of the ath12k messaging functions, when
qmi_send_request() fails, the function returns without performing the
necessary cleanup. So update those functions to call qmi_txn_cancel()
when qmi_send_request() fails.
No functional changes, compile tested only.
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://msgid.link/20240111-qmi-cleanup-v2-2-53343af953d5@quicinc.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
