public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] mmc: sdhci: try to avoid another division by zero
@ 2011-08-03 15:35 Andy Shevchenko
  2011-08-03 15:35 ` [PATCH 1/4] Revert "mmc: sdhci: Fix SDHCI_QUIRK_TIMEOUT_USES_SDCLK" Andy Shevchenko
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Andy Shevchenko @ 2011-08-03 15:35 UTC (permalink / raw)
  To: linux-mmc, Chris Ball; +Cc: Andy Shevchenko

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(-)

-- 
1.7.5.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-08-03 15:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-03 15:35 [PATCH 0/4] mmc: sdhci: try to avoid another division by zero Andy Shevchenko
2011-08-03 15:35 ` [PATCH 1/4] Revert "mmc: sdhci: Fix SDHCI_QUIRK_TIMEOUT_USES_SDCLK" Andy Shevchenko
2011-08-03 15:35 ` [PATCH 2/4] mmc: sdhci: check host->clock before use it as denominator Andy Shevchenko
2011-08-03 15:36 ` [PATCH 3/4] mmc: sdhci: move timeout_clk calculation a bit further Andy Shevchenko
2011-08-03 15:36 ` [PATCH 4/4] mmc: sdhci: use f_max instead of host->clock for timeouts Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox