Преглед изворни кода

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>
James Hogan пре 14 година
родитељ
комит
ae837fe6dd
1 измењених фајлова са 0 додато и 4 уклоњено
  1. 0 4
      drivers/mmc/host/dw_mmc.c

+ 0 - 4
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 & DW_MCI_DATA_ERROR_FLAGS) {
 				if (status & SDMMC_INT_DTO) {
 				if (status & SDMMC_INT_DTO) {
-					dev_err(&host->pdev->dev,
-						"data timeout error\n");
 					data->error = -ETIMEDOUT;
 					data->error = -ETIMEDOUT;
 				} else if (status & SDMMC_INT_DCRC) {
 				} else if (status & SDMMC_INT_DCRC) {
-					dev_err(&host->pdev->dev,
-						"data CRC error\n");
 					data->error = -EILSEQ;
 					data->error = -EILSEQ;
 				} else {
 				} else {
 					dev_err(&host->pdev->dev,
 					dev_err(&host->pdev->dev,