]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/mmc/host/sdhci.c
mmc: sdhci: move timeout_clk dynamically calculation code into common code
authorAisheng Dong <b29396@freescale.com>
Wed, 27 Aug 2014 07:26:32 +0000 (15:26 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:22 +0000 (13:59 +0200)
commit03d6f5ffc5c469e66bfe0a7d8120d29d4c3c07c9
tree7213a64a355870428050a43a12c6e372fc80df59
parent28aab053396125c8e191537ec2b9781ec0174b04
mmc: sdhci: move timeout_clk dynamically calculation code into common code

The timeout_clk calculation code for SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK case
is common and could be moved into common sdhci_do_set_ios, then platform code
which is not using sdhci_set_clock does not need to write the same code again.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c