commit | 28aab053396125c8e191537ec2b9781ec0174b04 | [log] [tgz] |
---|---|---|
author | Aisheng Dong <b29396@freescale.com> | Wed Aug 27 15:26:31 2014 +0800 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Tue Sep 09 13:59:22 2014 +0200 |
tree | e8eea59931503aad9b4e170c12fd442597258297 | |
parent | e33eb8e2818c9a7b41bac68a1c83ee4c136af9ba [diff] |
mmc: sdhci: calculate timeout_clk conditionally in sdhci_add_host The timeout_clk calculation code in sdhci_add_host is meaningless for SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK. So only execute them with no SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK set. Signed-off-by: Dong Aisheng <b29396@freescale.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>