diff options
author | Aapo Vienamo <[email protected]> | 2018-07-16 17:34:29 +0300 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2018-07-30 15:06:31 +0200 |
commit | 57d1654ec96a49f5a093f9cbe40718c92ab5daa0 (patch) | |
tree | bc3506a150b4a74bb9e2010fffa6fa3dd47cf60b /tools/perf/util/trace-event-scripting.c | |
parent | 02a3c0bd607402e4b7a5026f5a498291e8ade6f8 (diff) |
mmc: tegra: Force correct divider calculation on DDR50/52
Tegra SDHCI controllers require the SDHCI clock divider to be configured
to divide the clock by two in DDR50/52 modes. Incorrectly configured
clock divider results in corrupted data.
Prevent the possibility of incorrectly calculating the divider value due
to clock rate rounding or low parent clock frequency by not assigning
host->max_clk to clk_get_rate() on tegra_sdhci_set_clock().
See the comments for further details.
Fixes: a8e326a ("mmc: tegra: implement module external clock change")
Signed-off-by: Aapo Vienamo <[email protected]>
Acked-by: Jon Hunter <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions