mmc: sdhci: calculate timeout_clk conditionally in sdhci_add_host
authorAisheng Dong <b29396@freescale.com>
Wed, 27 Aug 2014 07:26:31 +0000 (15:26 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:22 +0000 (13:59 +0200)
commit28aab053396125c8e191537ec2b9781ec0174b04
treee8eea59931503aad9b4e170c12fd442597258297
parente33eb8e2818c9a7b41bac68a1c83ee4c136af9ba
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>
drivers/mmc/host/sdhci.c
This page took 0.034207 seconds and 5 git commands to generate.