commit | 4cf8c6dd2e261da94b87c4deadcc136ab022b6ac | [log] [tgz] |
---|---|---|
author | Adrian Hunter <adrian.hunter@intel.com> | Thu Jun 23 13:40:27 2011 +0300 |
committer | Chris Ball <cjb@laptop.org> | Sat Jun 25 18:52:53 2011 -0400 |
tree | 5bad08b6490c694b60d8c4afc0ab638ccea838ff | |
parent | ddd6fa7e794e62af3ec3eb4ffdc78489885701f2 [diff] |
mmc: core: make erase timeout calculation allow for gated clock The erase timeout calculation may depend on clock rate which is zero if the clock is gated, so use mmc_host_clk_rate() which allows for that case. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Chris Ball <cjb@laptop.org>