mirror of
https://github.com/adulau/aha.git
synced 2025-01-04 07:03:38 +00:00
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>
This commit is contained in:
parent
e4d2170874
commit
462f104ba6
2 changed files with 0 additions and 26 deletions
|
@ -380,11 +380,6 @@ static void sdhci_prepare_data(struct sdhci_host *host, struct mmc_data *data)
|
||||||
if (data == NULL)
|
if (data == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
DBG("blksz %04x blks %04x flags %08x\n",
|
|
||||||
data->blksz, data->blocks, data->flags);
|
|
||||||
DBG("tsac %d ms nsac %d clk\n",
|
|
||||||
data->timeout_ns / 1000000, data->timeout_clks);
|
|
||||||
|
|
||||||
/* Sanity checks */
|
/* Sanity checks */
|
||||||
BUG_ON(data->blksz * data->blocks > 524288);
|
BUG_ON(data->blksz * data->blocks > 524288);
|
||||||
BUG_ON(data->blksz > host->mmc->max_blk_size);
|
BUG_ON(data->blksz > host->mmc->max_blk_size);
|
||||||
|
@ -495,8 +490,6 @@ static void sdhci_finish_data(struct sdhci_host *host)
|
||||||
data->error = MMC_ERR_FAILED;
|
data->error = MMC_ERR_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
DBG("Ending data transfer (%d bytes)\n", data->bytes_xfered);
|
|
||||||
|
|
||||||
if (data->stop) {
|
if (data->stop) {
|
||||||
/*
|
/*
|
||||||
* The controller needs a reset of internal state machines
|
* 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)
|
||||||
|
|
||||||
WARN_ON(host->cmd);
|
WARN_ON(host->cmd);
|
||||||
|
|
||||||
DBG("Sending cmd (%x)\n", cmd->opcode);
|
|
||||||
|
|
||||||
/* Wait max 10 ms */
|
/* Wait max 10 ms */
|
||||||
timeout = 10;
|
timeout = 10;
|
||||||
|
|
||||||
|
@ -609,8 +600,6 @@ static void sdhci_finish_command(struct sdhci_host *host)
|
||||||
|
|
||||||
host->cmd->error = MMC_ERR_NONE;
|
host->cmd->error = MMC_ERR_NONE;
|
||||||
|
|
||||||
DBG("Ending cmd (%x)\n", host->cmd->opcode);
|
|
||||||
|
|
||||||
if (host->cmd->data)
|
if (host->cmd->data)
|
||||||
host->data = host->cmd->data;
|
host->data = host->cmd->data;
|
||||||
else
|
else
|
||||||
|
@ -862,8 +851,6 @@ static void sdhci_tasklet_finish(unsigned long param)
|
||||||
|
|
||||||
mrq = host->mrq;
|
mrq = host->mrq;
|
||||||
|
|
||||||
DBG("Ending request, cmd (%x)\n", mrq->cmd->opcode);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The controller needs a reset of internal state machines
|
* The controller needs a reset of internal state machines
|
||||||
* upon error conditions.
|
* upon error conditions.
|
||||||
|
|
|
@ -207,8 +207,6 @@ static void wbsd_request_end(struct wbsd_host *host, struct mmc_request *mrq)
|
||||||
{
|
{
|
||||||
unsigned long dmaflags;
|
unsigned long dmaflags;
|
||||||
|
|
||||||
DBGF("Ending request, cmd (%x)\n", mrq->cmd->opcode);
|
|
||||||
|
|
||||||
if (host->dma >= 0) {
|
if (host->dma >= 0) {
|
||||||
/*
|
/*
|
||||||
* Release ISA DMA controller.
|
* Release ISA DMA controller.
|
||||||
|
@ -360,8 +358,6 @@ static void wbsd_send_command(struct wbsd_host *host, struct mmc_command *cmd)
|
||||||
int i;
|
int i;
|
||||||
u8 status, isr;
|
u8 status, isr;
|
||||||
|
|
||||||
DBGF("Sending cmd (%x)\n", cmd->opcode);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Clear accumulated ISR. The interrupt routine
|
* Clear accumulated ISR. The interrupt routine
|
||||||
* will fill this one with events that occur during
|
* 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)
|
||||||
wbsd_get_short_reply(host, cmd);
|
wbsd_get_short_reply(host, cmd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DBGF("Sent cmd (%x), res %d\n", cmd->opcode, cmd->error);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -550,11 +544,6 @@ static void wbsd_prepare_data(struct wbsd_host *host, struct mmc_data *data)
|
||||||
unsigned long dmaflags;
|
unsigned long dmaflags;
|
||||||
unsigned int size;
|
unsigned int size;
|
||||||
|
|
||||||
DBGF("blksz %04x blks %04x flags %08x\n",
|
|
||||||
data->blksz, data->blocks, data->flags);
|
|
||||||
DBGF("tsac %d ms nsac %d clk\n",
|
|
||||||
data->timeout_ns / 1000000, data->timeout_clks);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calculate size.
|
* Calculate size.
|
||||||
*/
|
*/
|
||||||
|
@ -752,8 +741,6 @@ static void wbsd_finish_data(struct wbsd_host *host, struct mmc_data *data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DBGF("Ending data transfer (%d bytes)\n", data->bytes_xfered);
|
|
||||||
|
|
||||||
wbsd_request_end(host, host->mrq);
|
wbsd_request_end(host, host->mrq);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue