Skip to content

Commit

Permalink
mmc: dw_mmc: Don't print data errors
Browse files Browse the repository at this point in the history
Data errors are completely expected during tuning.  Printing them out
is confusing people looking at the kernel logs.  They see things like:

 [    3.613296] dwmmc_exynos 12200000.dwmmc0: data error, status 0x00000088

...and they think something is wrong with their hardware.

Remove the printouts.  We'll leave it up to a higher level to report
about errors.

Signed-off-by: Doug Anderson <dianders@chromium.org>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
  • Loading branch information
Doug Anderson authored and Chris Ball committed May 22, 2014
1 parent da91a8f commit e6cc012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/host/dw_mmc.c
Original file line number Diff line number Diff line change
@@ -1229,7 +1229,7 @@ static int dw_mci_data_complete(struct dw_mci *host, struct mmc_data *data)
data->error = -EIO;
}

dev_err(host->dev, "data error, status 0x%08x\n", status);
dev_dbg(host->dev, "data error, status 0x%08x\n", status);

/*
* After an error, there may be data lingering

0 comments on commit e6cc012

Please sign in to comment.