[RFC 1/2] sdhci : recompute timeout_clk when needed

2014-07-10 Thread Matthieu CASTET
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

Re: [RFC 1/2] sdhci : recompute timeout_clk when needed

2014-07-10 Thread Matthieu CASTET
Please ignore this mail, it is a mistake (it was already sent). Sorry for the noise. Le Thu, 10 Jul 2014 10:01:03 +0200, Matthieu CASTET matthieu.cas...@parrot.com a écrit : when SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK is set, timeout_clk is sdclk. We need to update it when we change sdclk in