diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-26 17:00:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-26 17:00:56 -0400 |
commit | d941cf5e373c356723fa648b9f0302a11c9b1770 (patch) | |
tree | f79c2cab0e6223e452cbb6599859eaeec4ba8188 /drivers/mmc/host/wbsd.c | |
parent | 9f5577d8158d8190174d95cbf21713251cc8a044 (diff) | |
parent | 393618510d5349e07d71dc28fb6fc49baf0d96a0 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc:
drivers/mmc/core/: make 3 functions static
mmc: add missing printk levels
mmc: remove redundant debug information from sdhci and wbsd
mmc: proper debugging output in core
mmc: be more verbose about card insertions/removal
mmc: Don't hold lock when releasing an added card
mmc: add a might_sleep() to mmc_claim_host()
mmc: update kerneldoc
mmc: update header file paths
sdhci: add support to ENE-CB714
mmc: check error bits before command completion
Diffstat (limited to 'drivers/mmc/host/wbsd.c')
-rw-r--r-- | drivers/mmc/host/wbsd.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/drivers/mmc/host/wbsd.c b/drivers/mmc/host/wbsd.c index 867ca6a69298..e0c9808fd424 100644 --- a/drivers/mmc/host/wbsd.c +++ b/drivers/mmc/host/wbsd.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * linux/drivers/mmc/wbsd.c - Winbond W83L51xD SD/MMC driver | 2 | * linux/drivers/mmc/host/wbsd.c - Winbond W83L51xD SD/MMC driver |
3 | * | 3 | * |
4 | * Copyright (C) 2004-2007 Pierre Ossman, All Rights Reserved. | 4 | * Copyright (C) 2004-2007 Pierre Ossman, All Rights Reserved. |
5 | * | 5 | * |
@@ -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 | ||