Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae837fe6 authored by James Hogan's avatar James Hogan Committed by Chris Ball
Browse files

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: default avatarJames Hogan <james.hogan@imgtec.com>
Acked-by: default avatarWill Newton <will.newton@imgtec.com>
Tested-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 03e8cb53
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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,