diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2011-08-03 18:36:01 +0300 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-08-13 14:50:30 -0400 |
commit | 65be3fef930beb3e282e7f23dfba63289971430c (patch) | |
tree | a2d74efe845f8c90e828b775d59eaaf134533bac /drivers/mmc/core | |
parent | 272308caaa6c0f2b1500a3660b9fa75f17a45cc4 (diff) |
mmc: sdhci: use f_max instead of host->clock for timeouts
When timeout_clk is calculated the host->clock could be zero.
So, instead of host->clock the calculation now uses mmc->f_max.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core')
0 files changed, 0 insertions, 0 deletions