Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4781f10d authored by Ananya Gupta's avatar Ananya Gupta Committed by Madan Koyyalamudi
Browse files

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
parent e23c2cac
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -16392,8 +16392,10 @@ static void __hdd_bus_bw_compute_timer_stop(struct hdd_context *hdd_ctx)
		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);
	}
}