mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
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:
parent
ce480240e1
commit
f3b9eb508a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue