From 4781f10dbffeca5a35c7173dbc4c8d883b128a0c Mon Sep 17 00:00:00 2001 From: Ananya Gupta Date: Wed, 20 Jul 2022 17:10:32 +0530 Subject: [PATCH] qcacld-3.0: Set bus bandwidth state to NONE in rutime suspend Currently, runtime suspend is not setting bus bandwiddth state to NONE but to IDLE level. Change is to set bandwidth state to None after setting it to IDLE. Change-Id: Iabd20b7e4a23019768de7604cb0efda0328e7d57 CRs-Fixed: 3229952 --- core/hdd/src/wlan_hdd_main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/hdd/src/wlan_hdd_main.c b/core/hdd/src/wlan_hdd_main.c index 467ee065e202..37931121aac2 100644 --- a/core/hdd/src/wlan_hdd_main.c +++ b/core/hdd/src/wlan_hdd_main.c @@ -16392,8 +16392,10 @@ exit: uint64_t interval_us = hdd_ctx->config->bus_bw_compute_interval * 1000; qdf_atomic_set(&hdd_ctx->num_latency_critical_clients, 0); - hdd_ctx->cur_vote_level = PLD_BUS_WIDTH_NONE; hdd_pld_request_bus_bandwidth(hdd_ctx, 0, 0, interval_us); + hdd_ctx->cur_vote_level = PLD_BUS_WIDTH_NONE; + pld_request_bus_bandwidth(hdd_ctx->parent_dev, + PLD_BUS_WIDTH_NONE); } }