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

Commit 28680f04 authored by Dhoat Harpal's avatar Dhoat Harpal
Browse files

soc: qcom: glink: Reset qos rate when xprt is down



Reset for qos rate of xprt is not done duering SSR, this leads to
exhaustion of qos bandwidth when multiple SSR happens.

Reset qos rate of xprt to zero when link goes down.

CRs-Fixed: 2061061
Change-Id: Ibabca5584b01eb93a5b7fcc8a5304136ef400ba0
Signed-off-by: default avatarDhoat Harpal <hdhoat@codeaurora.org>
parent 76913944
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4158,6 +4158,7 @@ static void glink_core_link_down(struct glink_transport_if *if_ptr)
	rwref_write_get(&xprt_ptr->xprt_state_lhb0);
	xprt_ptr->next_lcid = 1;
	xprt_ptr->local_state = GLINK_XPRT_DOWN;
	xprt_ptr->curr_qos_rate_kBps = 0;
	xprt_ptr->local_version_idx = xprt_ptr->versions_entries - 1;
	xprt_ptr->remote_version_idx = xprt_ptr->versions_entries - 1;
	xprt_ptr->l_features =