summaryrefslogtreecommitdiffstats
path: root/drivers/edac/ppc4xx_edac.c
diff options
context:
space:
mode:
authorAapo Vienamo <avienamo@nvidia.com>2018-07-13 16:17:45 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2018-07-16 11:58:38 +0200
commit44350993d01c901cc201ef2663fd0fded2e03d06 (patch)
treeb563558c12c433d2f293ff1a7656a2a2077f174a /drivers/edac/ppc4xx_edac.c
parent8312b97c7c08bd0fc489ee5db809dee9102a289f (diff)
downloadtalos-op-linux-44350993d01c901cc201ef2663fd0fded2e03d06.tar.gz
talos-op-linux-44350993d01c901cc201ef2663fd0fded2e03d06.zip
mmc: tegra: Add and use tegra_sdhci_get_max_clock()
Implement and use tegra_sdhci_get_max_clock() which returns the true maximum host clock rate. The issue with tegra_sdhci_get_max_clock() is that it returns the current clock rate of the host instead of the maximum one, which can lead to unnecessarily small clock rates. This differs from the previous implementation of tegra_sdhci_get_max_clock() in that it doesn't divide the result by two. Signed-off-by: Aapo Vienamo <avienamo@nvidia.com> Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/edac/ppc4xx_edac.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud