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

Commit 026a7c31 authored by Alexei Avshalom Lazar's avatar Alexei Avshalom Lazar
Browse files

msm_11ad: update bus voting according the arbitrated bandwidth



Bus voting set looking into Ib (instantaneous bandwidth) in the DTSI
instead of looking into Ab (arbitrated bandwidth).
Update the bus voting function to use the Ab.

Change-Id: I1107f883397d372085974cbd649a7208e31bfc0c
Signed-off-by: default avatarAlexei Avshalom Lazar <ailizaro@codeaurora.org>
parent a7d847f5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1396,7 +1396,7 @@ static int ops_bus_request(void *handle, u32 kbps /* KBytes/Sec */)
		 * assume we have single path (vectors[0]). If we ever
		 * have multiple paths, need to define the behavior
		 */
		usecase_kbps = div64_u64(usecase->vectors[0].ib, 1000);
		usecase_kbps = div64_u64(usecase->vectors[0].ab, 1000);
		if (usecase_kbps >= kbps && usecase_kbps < min_kbps) {
			min_kbps = usecase_kbps;
			vote = i;