commit | f88613c8b13b45cb6725f75d8144d2c0d64580e7 | [log] [tgz] |
---|---|---|
author | Dundi Raviteja <dundi@codeaurora.org> | Wed Jun 19 12:53:43 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Aug 22 15:35:05 2019 |
tree | 2a05d57bd55c655be8f3e7af8b15af77380b6177 | |
parent | c4f892767066eea6a146b41c135a818404e3f0cd [diff] |
UPSTREAM: ath10k: Fix memory leak in qmi Currently the memory allocated for qmi handle is not being freed during de-init which leads to memory leak. Free the allocated qmi memory in qmi deinit to avoid memory leak. Tested HW: WCN3990 Tested FW: WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1 Fixes: fda6fee0001e ("ath10k: add QMI message handshake for wcn3990 client") BUG=b:137525452 TEST=None (Cherry picked from commit c709df58832c5f575f0255bea4b09ad477fc62ea https://github.com/torvalds/linux.git) Change-Id: I7a9ee1cb4beeefd86ea0a7014b27b31cfe7f3037 Signed-off-by: Dundi Raviteja <dundi@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Signed-off-by: Vamsi Singamsetty <vamssi@codeaurora.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1720378 Reviewed-by: Julan Hsu <julanhsu@google.com> Reviewed-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Julan Hsu <julanhsu@google.com> Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> (cherry picked from commit 6e2725a225df7b218e684b39b362246ce2848a1c) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1764666