summaryrefslogtreecommitdiff
path: root/net
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 12:58:38 +0300
commit44350993d01c901cc201ef2663fd0fded2e03d06 (patch)
treeb563558c12c433d2f293ff1a7656a2a2077f174a /net
parent8312b97c7c08bd0fc489ee5db809dee9102a289f (diff)
downloadlinux-44350993d01c901cc201ef2663fd0fded2e03d06.tar.xz
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 'net')
0 files changed, 0 insertions, 0 deletions