Repository navigation
Commit 65be3fe
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>1 parent 272308c commit 65be3fe
1 file changed
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2505 | 2505 | | |
2506 | 2506 | | |
2507 | 2507 | | |
2508 | | - | |
| 2508 | + | |
2509 | 2509 | | |
2510 | | - | |
2511 | | - | |
2512 | | - | |
2513 | | - | |
| 2510 | + | |
2514 | 2511 | | |
2515 | 2512 | | |
2516 | 2513 | | |
| |||
0 commit comments