mmc: sdhci: try to avoid another division by zero
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Revert "mmc: sdhci: Fix SDHCI_QUIRK_TIMEOUT_USES_SDCLK"drivers/ | +3 | 0 replies | |
| 2/4 | mmc: sdhci: check host->clock before use it as denominatordrivers/ | +5 | 0 replies | |
| 3/4 | mmc: sdhci: move timeout_clk calculation a bit furtherdrivers/ | +19 | 0 replies | |
| 4/4 | mmc: sdhci: use f_max instead of host->clock for timeoutsdrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] mmc: sdhci: try to avoid another division by zero
The set of patches that applied for 3.0 exposes another "division by zero" error. This set tries to remake the "Fix SDHCI_QUIRK_TIMEOUT_USES_SDCLK" patch.
Comments are very welcome!
Of course, the set needs to be tested carefully.
Andy Shevchenko (4):
Revert "mmc: sdhci: Fix SDHCI_QUIRK_TIMEOUT_USES_SDCLK"
mmc: sdhci: check host->clock before use it as denominator
mmc: sdhci: move timeout_clk calculation a bit further
mmc: sdhci: use f_max instead of host->clock for timeouts
drivers/mmc/host/sdhci.c | 50 ++++++++++++++++++++++----------------------- 1 files changed, 24 insertions(+), 26 deletions(-)
Signature · 1 line
1.7.5.4