Skip to content
Commit fac6a52f authored by Matthieu CASTET's avatar Matthieu CASTET Committed by Ulf Hansson
Browse files

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: default avatarMatthieu CASTET <matthieu.castet@parrot.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent c5abd5e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment