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: Akash Asthana <akashast@codeaurora.org>
This commit is contained in:
Akash Asthana 2020-11-12 11:18:45 +05:30
commit f3b9eb508a

View file

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