mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacld-3.0: Stop bus bandwidth compute timer during SSR shutdown
Stop bus bandwidth compute timer during SSR shutdown such that bus bandwidth timer is stopped and bus bandwidth compute work is flushed cleanly in all the cases. Change-Id: Ie79ddd1ab13b852fb5d23029c51f05e921f72989 CRs-Fixed: 2307304
This commit is contained in:
parent
a4b5574221
commit
c27efb6fd1
2 changed files with 2 additions and 1 deletions
|
|
@ -7763,7 +7763,7 @@ void hdd_bus_bandwidth_deinit(struct hdd_context *hdd_ctx)
|
|||
{
|
||||
hdd_enter();
|
||||
|
||||
hdd_bus_bw_compute_timer_stop(hdd_ctx);
|
||||
QDF_BUG(!hdd_ctx->bus_bw_timer_running);
|
||||
|
||||
qdf_timer_free(&hdd_ctx->bus_bw_timer);
|
||||
qdf_spinlock_destroy(&hdd_ctx->bus_bw_timer_lock);
|
||||
|
|
|
|||
|
|
@ -1200,6 +1200,7 @@ QDF_STATUS hdd_wlan_shutdown(void)
|
|||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
hdd_bus_bw_compute_timer_stop(hdd_ctx);
|
||||
policy_mgr_clear_concurrent_session_count(hdd_ctx->hdd_psoc);
|
||||
|
||||
hdd_debug("Invoking packetdump deregistration API");
|
||||
|
|
|
|||
Loading…
Reference in a new issue