diff options
author | Pierre Ossman <drzeus@drzeus.cx> | 2007-07-24 15:47:47 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-07-25 20:05:39 -0400 |
commit | 462f104ba6a65ea2128462e2ef0c3adb18609954 (patch) | |
tree | 903ea1496424ca09032aec0cce7966f6a79ed450 /drivers/mmc | |
parent | e4d217087458914a6d5d9fd034d7237e6530c619 (diff) |
mmc: remove redundant debug information from sdhci and wbsd
Remove the extra debugging output that now is properly printed
by the core.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci.c | 13 | ||||
-rw-r--r-- | drivers/mmc/host/wbsd.c | 13 |
2 files changed, 0 insertions, 26 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 9fd633a6f935..f2bc87ac24f7 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c | |||
@@ -380,11 +380,6 @@ static void sdhci_prepare_data(struct sdhci_host *host, struct mmc_data *data) | |||
380 | if (data == NULL) | 380 | if (data == NULL) |
381 | return; | 381 | return; |
382 | 382 | ||
383 | DBG("blksz %04x blks %04x flags %08x\n", | ||
384 | data->blksz, data->blocks, data->flags); | ||
385 | DBG("tsac %d ms nsac %d clk\n", | ||
386 | data->timeout_ns / 1000000, data->timeout_clks); | ||
387 | |||
388 | /* Sanity checks */ | 383 | /* Sanity checks */ |
389 | BUG_ON(data->blksz * data->blocks > 524288); | 384 | BUG_ON(data->blksz * data->blocks > 524288); |
390 | BUG_ON(data->blksz > host->mmc->max_blk_size); | 385 | BUG_ON(data->blksz > host->mmc->max_blk_size); |
@@ -495,8 +490,6 @@ static void sdhci_finish_data(struct sdhci_host *host) | |||
495 | data->error = MMC_ERR_FAILED; | 490 | data->error = MMC_ERR_FAILED; |
496 | } | 491 | } |
497 | 492 | ||
498 | DBG("Ending data transfer (%d bytes)\n", data->bytes_xfered); | ||
499 | |||
500 | if (data->stop) { | 493 | if (data->stop) { |
501 | /* | 494 | /* |
502 | * The controller needs a reset of internal state machines | 495 | * The controller needs a reset of internal state machines |
@@ -520,8 +513,6 @@ static void sdhci_send_command(struct sdhci_host *host, struct mmc_command *cmd) | |||
520 | 513 | ||
521 | WARN_ON(host->cmd); | 514 | WARN_ON(host->cmd); |
522 | 515 | ||
523 | DBG("Sending cmd (%x)\n", cmd->opcode); | ||
524 | |||
525 | /* Wait max 10 ms */ | 516 | /* Wait max 10 ms */ |
526 | timeout = 10; | 517 | timeout = 10; |
527 | 518 | ||
@@ -609,8 +600,6 @@ static void sdhci_finish_command(struct sdhci_host *host) | |||
609 | 600 | ||
610 | host->cmd->error = MMC_ERR_NONE; | 601 | host->cmd->error = MMC_ERR_NONE; |
611 | 602 | ||
612 | DBG("Ending cmd (%x)\n", host->cmd->opcode); | ||
613 | |||
614 | if (host->cmd->data) | 603 | if (host->cmd->data) |
615 | host->data = host->cmd->data; | 604 | host->data = host->cmd->data; |
616 | else | 605 | else |
@@ -862,8 +851,6 @@ static void sdhci_tasklet_finish(unsigned long param) | |||
862 | 851 | ||
863 | mrq = host->mrq; | 852 | mrq = host->mrq; |
864 | 853 | ||
865 | DBG("Ending request, cmd (%x)\n", mrq->cmd->opcode); | ||
866 | |||
867 | /* | 854 | /* |
868 | * The controller needs a reset of internal state machines | 855 | * The controller needs a reset of internal state machines |
869 | * upon error conditions. | 856 | * upon error conditions. |
diff --git a/drivers/mmc/host/wbsd.c b/drivers/mmc/host/wbsd.c index 1d7ebf35355e..e0c9808fd424 100644 --- a/drivers/mmc/host/wbsd.c +++ b/drivers/mmc/host/wbsd.c | |||
@@ -207,8 +207,6 @@ static void wbsd_request_end(struct wbsd_host *host, struct mmc_request *mrq) | |||
207 | { | 207 | { |
208 | unsigned long dmaflags; | 208 | unsigned long dmaflags; |
209 | 209 | ||
210 | DBGF("Ending request, cmd (%x)\n", mrq->cmd->opcode); | ||
211 | |||
212 | if (host->dma >= 0) { | 210 | if (host->dma >= 0) { |
213 | /* | 211 | /* |
214 | * Release ISA DMA controller. | 212 | * Release ISA DMA controller. |
@@ -360,8 +358,6 @@ static void wbsd_send_command(struct wbsd_host *host, struct mmc_command *cmd) | |||
360 | int i; | 358 | int i; |
361 | u8 status, isr; | 359 | u8 status, isr; |
362 | 360 | ||
363 | DBGF("Sending cmd (%x)\n", cmd->opcode); | ||
364 | |||
365 | /* | 361 | /* |
366 | * Clear accumulated ISR. The interrupt routine | 362 | * Clear accumulated ISR. The interrupt routine |
367 | * will fill this one with events that occur during | 363 | * will fill this one with events that occur during |
@@ -411,8 +407,6 @@ static void wbsd_send_command(struct wbsd_host *host, struct mmc_command *cmd) | |||
411 | wbsd_get_short_reply(host, cmd); | 407 | wbsd_get_short_reply(host, cmd); |
412 | } | 408 | } |
413 | } | 409 | } |
414 | |||
415 | DBGF("Sent cmd (%x), res %d\n", cmd->opcode, cmd->error); | ||
416 | } | 410 | } |
417 | 411 | ||
418 | /* | 412 | /* |
@@ -550,11 +544,6 @@ static void wbsd_prepare_data(struct wbsd_host *host, struct mmc_data *data) | |||
550 | unsigned long dmaflags; | 544 | unsigned long dmaflags; |
551 | unsigned int size; | 545 | unsigned int size; |
552 | 546 | ||
553 | DBGF("blksz %04x blks %04x flags %08x\n", | ||
554 | data->blksz, data->blocks, data->flags); | ||
555 | DBGF("tsac %d ms nsac %d clk\n", | ||
556 | data->timeout_ns / 1000000, data->timeout_clks); | ||
557 | |||
558 | /* | 547 | /* |
559 | * Calculate size. | 548 | * Calculate size. |
560 | */ | 549 | */ |
@@ -752,8 +741,6 @@ static void wbsd_finish_data(struct wbsd_host *host, struct mmc_data *data) | |||
752 | } | 741 | } |
753 | } | 742 | } |
754 | 743 | ||
755 | DBGF("Ending data transfer (%d bytes)\n", data->bytes_xfered); | ||
756 | |||
757 | wbsd_request_end(host, host->mrq); | 744 | wbsd_request_end(host, host->mrq); |
758 | } | 745 | } |
759 | 746 | ||