summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2011-06-29 09:29:17 +0100
committerChris Ball <cjb@laptop.org>2011-07-20 17:21:05 -0400
commitae837fe6ddb1e4e9238191629baa08c35ed4a6bb (patch)
treef6da919d8a8729ca4ca75a797ab8a30898a5c98e /drivers/mmc
parent03e8cb534e7cc3f71a07528a44da7ce68e5b5708 (diff)
downloadtalos-obmc-linux-ae837fe6ddb1e4e9238191629baa08c35ed4a6bb.tar.gz
talos-obmc-linux-ae837fe6ddb1e4e9238191629baa08c35ed4a6bb.zip
mmc: dw_mmc: remove unnecessary error messages
Remove error messages for timeout and CRC failure, since the error code already indicates the problem. Signed-off-by: James Hogan <james.hogan@imgtec.com> Acked-by: Will Newton <will.newton@imgtec.com> Tested-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/dw_mmc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index fcff3c042f69..bf2157a0e511 100644
--- a/drivers/mmc/host/dw_mmc.c
+++ b/drivers/mmc/host/dw_mmc.c
@@ -908,12 +908,8 @@ static void dw_mci_tasklet_func(unsigned long priv)
if (status & DW_MCI_DATA_ERROR_FLAGS) {
if (status & SDMMC_INT_DTO) {
- dev_err(&host->pdev->dev,
- "data timeout error\n");
data->error = -ETIMEDOUT;
} else if (status & SDMMC_INT_DCRC) {
- dev_err(&host->pdev->dev,
- "data CRC error\n");
data->error = -EILSEQ;
} else {
dev_err(&host->pdev->dev,
OpenPOWER on IntegriCloud