Skip to content

Commit

Permalink
HACK: memory: tegra: Do not go to 40.8 MHz EMC
Browse files Browse the repository at this point in the history
BUG=chrome-os-partner:53415
TEST=system idle

Change-Id: I308fb44d063a860e40431c2b23b5a8639a1e3fad
Signed-off-by: Christopher Freeman <cfreeman@nvidia.com>
Reviewed-on: https://chromium-review.googlesource.com/345666
Commit-Ready: Stephen Barber <smbarber@chromium.org>
Tested-by: Stephen Barber <smbarber@chromium.org>
Reviewed-by: Stephen Barber <smbarber@chromium.org>
(cherry picked from commit eb429de82ed88f44b39387dc3dfd7c187dfb6a7b)
Reviewed-on: https://chromium-review.googlesource.com/359449
Commit-Queue: Stephen Barber <smbarber@chromium.org>
  • Loading branch information
Christopher Freeman authored and ChromeOS Commit Bot committed Jul 11, 2016
1 parent dbb69bb commit 5a7724a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/memory/tegra/tegra210-emc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1228,6 +1228,9 @@ static int find_matching_input(struct emc_table *table, struct emc_sel *sel)
unsigned long input_rate = 0;
struct clk *input_clk;

if (table->rate == 40800)
return -EINVAL;

div_value = emc_div_val(table->clk_src_emc);
src_value = emc_src_val(table->clk_src_emc);

Expand Down

0 comments on commit 5a7724a

Please sign in to comment.