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
This commit is contained in:
Ananya Gupta 2022-07-20 17:10:32 +05:30 • committed by Madan Koyyalamudi
commit 4781f10dbf

View file

@ -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);
}
}