mmc: dw_mmc: remove unnecessary error messages
authorJames Hogan <james.hogan@imgtec.com>
Wed, 29 Jun 2011 08:29:17 +0000 (09:29 +0100)
committerChris Ball <cjb@laptop.org>
Wed, 20 Jul 2011 21:21:05 +0000 (17:21 -0400)
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>
drivers/mmc/host/dw_mmc.c

index fcff3c042f69466ea4889912db176dd88c7c1f21..bf2157a0e51194f7017daf49b56ee663ab1cae61 100644 (file)
@@ -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,