From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: linux-mmc@vger.kernel.org, Chris Ball <cjb@laptop.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: [PATCH 0/4] mmc: sdhci: try to avoid another division by zero
Date: Wed, 3 Aug 2011 18:35:57 +0300 [thread overview]
Message-ID: <cover.1312385378.git.andriy.shevchenko@linux.intel.com> (raw)
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
next reply other threads:[~2011-08-03 15:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-03 15:35 Andy Shevchenko [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1312385378.git.andriy.shevchenko@linux.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=cjb@laptop.org \
--cc=linux-mmc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox