aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/imxmmc.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/imxmmc.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/imxmmc.c')
-rw-r--r--drivers/mmc/imxmmc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mmc/imxmmc.c b/drivers/mmc/imxmmc.c
index bc271925099a..79358e223f57 100644
--- a/drivers/mmc/imxmmc.c
+++ b/drivers/mmc/imxmmc.c
@@ -807,10 +807,6 @@ static void imxmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
807 struct imxmci_host *host = mmc_priv(mmc); 807 struct imxmci_host *host = mmc_priv(mmc);
808 int prescaler; 808 int prescaler;
809 809
810 dev_dbg(mmc_dev(host->mmc), "clock %u power %u vdd %u width %u\n",
811 ios->clock, ios->power_mode, ios->vdd,
812 (ios->bus_width==MMC_BUS_WIDTH_4)?4:1);
813
814 if( ios->bus_width==MMC_BUS_WIDTH_4 ) { 810 if( ios->bus_width==MMC_BUS_WIDTH_4 ) {
815 host->actual_bus_width = MMC_BUS_WIDTH_4; 811 host->actual_bus_width = MMC_BUS_WIDTH_4;
816 imx_gpio_mode(PB11_PF_SD_DAT3); 812 imx_gpio_mode(PB11_PF_SD_DAT3);