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

Commit f3b9eb50 authored by Akash Asthana's avatar Akash Asthana
Browse files

platform: msm-geni-se: Correct unit for ICC optimization



In older kernel target we had ICB and it use to take input
in BCM units for QUP core path, whereas in recent kernel we
have ICC for BW NOC voting and it accept input in KHz.

So correct unit for ICC optimization code.

Change-Id: Ia6c88dbd328dad1ff96c6c7ffd22c93db942d509
Signed-off-by: default avatarAkash Asthana <akashast@codeaurora.org>
parent ce480240
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -663,7 +663,7 @@ static bool geni_se_check_bus_bw(struct geni_se_device *geni_se_dev)
	bool bus_bw_update = false;
	/* Convert agg ab into bytes per second */
	unsigned long new_ab_in_hz = DEFAULT_BUS_WIDTH *
					((2*geni_se_dev->cur_ab)*10000);
					KHz(geni_se_dev->cur_ab);

	new_bus_bw = max(geni_se_dev->cur_ib, new_ab_in_hz) /
							DEFAULT_BUS_WIDTH;