aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/pxamci.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-05-04 13:22:51 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-05-04 13:22:51 -0400
commit920e70c5c603ada05dd480ca0ccc0ae12a5fdc39 (patch)
tree8eb39280a5d5ce881315b9ac774ad41ca9516bc4 /drivers/mmc/pxamci.c
parentfe10c6abea8bc83291a13e0580b3e4c355710b09 (diff)
[MMC] Move set_ios debugging into mmc.c
Rather than having every driver duplicate the set_ios debugging, provide a single version in mmc.c which can be expanded as we add additional functionality. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/pxamci.c')
-rw-r--r--drivers/mmc/pxamci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mmc/pxamci.c b/drivers/mmc/pxamci.c
index 40970c4ae3e6..f97b472085cb 100644
--- a/drivers/mmc/pxamci.c
+++ b/drivers/mmc/pxamci.c
@@ -365,10 +365,6 @@ static void pxamci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
365{ 365{
366 struct pxamci_host *host = mmc_priv(mmc); 366 struct pxamci_host *host = mmc_priv(mmc);
367 367
368 pr_debug("PXAMCI: clock %u power %u vdd %u.%02u\n",
369 ios->clock, ios->power_mode, ios->vdd / 100,
370 ios->vdd % 100);
371
372 if (ios->clock) { 368 if (ios->clock) {
373 unsigned int clk = CLOCKRATE / ios->clock; 369 unsigned int clk = CLOCKRATE / ios->clock;
374 if (CLOCKRATE / clk > ios->clock) 370 if (CLOCKRATE / clk > ios->clock)