diff options
author | Bibek Basu <bbasu@nvidia.com> | 2016-12-15 13:53:27 +0530 |
---|---|---|
committer | Winnie Hsu <whsu@nvidia.com> | 2016-12-22 03:33:40 -0800 |
commit | 304b07bf74c5022458616285de941ae1063b8e6d (patch) | |
tree | 5973592b2f9380e6454e6030adc2f8f334f9a7dc /arch | |
parent | b8491114a4a0fe7a675c03d600003ea434c33a96 (diff) |
arm: tegra: fix cpu speedo check for UCM1
for UCM1 CD575M, check for cpu speedo 5 to
apply edp contraints
Bug 200195229
Bug 200199079
Change-Id: I704dd64f32c82c7499b6c5f0c96c04fdc062cf71
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/1271709
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/edp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/edp.c b/arch/arm/mach-tegra/edp.c index 75685443eb28..0e13bb13cb0b 100644 --- a/arch/arm/mach-tegra/edp.c +++ b/arch/arm/mach-tegra/edp.c @@ -480,7 +480,7 @@ static int init_cpu_edp_limits_calculated(void) else if (tegra_cpu_speedo_id() == 8) limit = 1887000; /* CD575M UCM1 default */ - else if (tegra_cpu_speedo_id() == -1) + else if (tegra_cpu_speedo_id() == 5) limit = 1887000; } else limit = cpu_edp_calculate_maxf(params, |