diff options
author | Bibek Basu <bbasu@nvidia.com> | 2014-11-27 10:10:36 +0530 |
---|---|---|
committer | Matthew Pedro <mapedro@nvidia.com> | 2014-12-01 10:28:36 -0800 |
commit | ed4f6978e7da48f5e39b9269e8d89a27b0cfd33a (patch) | |
tree | 98b948c410220cdeabb44473fa0f180738bdc192 | |
parent | 0073a3919fa67f1aab8daf97ed51b3ac4c2b1dc5 (diff) |
ARM: tegra: fix max freq selectiontegra-l4t-r21-21.2
Remove check for required mV less than max mV
because required mV for pllX is different from
dfll
Bug 200059817
Change-Id: Idb34e60479922bdc2913166447d47c5553eafb71
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/656475
Reviewed-by: Eric Brower <ebrower@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
-rw-r--r-- | arch/arm/mach-tegra/dvfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/dvfs.c b/arch/arm/mach-tegra/dvfs.c index 429385118b64..06596c51ee1a 100644 --- a/arch/arm/mach-tegra/dvfs.c +++ b/arch/arm/mach-tegra/dvfs.c @@ -1146,8 +1146,7 @@ int __init tegra_enable_dvfs_on_clk(struct clk *c, struct dvfs *d) } for (i = 0; i < MAX_DVFS_FREQS; i++) { - if (d->millivolts[i] == 0 || - d->millivolts[i] > d->max_millivolts) + if (d->millivolts[i] == 0) break; d->freqs[i] *= d->freqs_mult; |