sdhci : recompute timeout_clk when needed
authorMatthieu CASTET <matthieu.castet@parrot.com>
Thu, 14 Aug 2014 14:03:18 +0000 (16:03 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:03 +0000 (13:59 +0200)
commitfac6a52fe9b14851d56b3c19c3d5a95790c46fac
tree36e8884a95666243b2e49cc88dbb7e3fc7aea873
parentc5abd5e8998e20c2e82999670a03f26f1437d744
sdhci : recompute timeout_clk when needed

when SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK is set, timeout_clk is sdclk.
We need to update it when we change sdclk in sdhci_set_clock.
This allow to have a more precisse timeout and max_busy_timeout. This
can help for command that need a big busy wait (erase, ...).

Signed-off-by: Matthieu CASTET <matthieu.castet@parrot.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c
This page took 0.026814 seconds and 5 git commands to generate.