diff options
author | Icenowy Zheng <icenowy@aosc.xyz> | 2017-03-16 21:29:03 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-04-24 21:41:48 +0200 |
commit | bd675698e8eece61c02a5e436e6d5d5ac1180e46 (patch) | |
tree | 7774bd5b65c3bd7d7b50babb769f03554b371241 /drivers/mmc/host/sunxi-mmc.c | |
parent | a744c6fe13beef87cd541f1dcaffe97f2af0c908 (diff) | |
download | linux-bd675698e8eece61c02a5e436e6d5d5ac1180e46.tar.gz linux-bd675698e8eece61c02a5e436e6d5d5ac1180e46.tar.bz2 linux-bd675698e8eece61c02a5e436e6d5d5ac1180e46.zip |
mmc: sunxi: change controller error info to debug level
The controller's errors are usually normal (for example, for MMC or SDIO
cards, some errors are expected to happen; and for boards without a
dedicated card detect pin the error info will even flood console and
hide other normal messages) and hard to understand.
Change their print level to debug, thus it won't be shown to generic
users.
Signed-off-by: Icenowy Zheng <icenowy@aosc.xyz>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sunxi-mmc.c')
-rw-r--r-- | drivers/mmc/host/sunxi-mmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c index 6ffcd2838272..0391c62cc99f 100644 --- a/drivers/mmc/host/sunxi-mmc.c +++ b/drivers/mmc/host/sunxi-mmc.c @@ -489,7 +489,7 @@ static void sunxi_mmc_dump_errinfo(struct sunxi_mmc_host *host) cmd->opcode == SD_IO_RW_DIRECT)) return; - dev_err(mmc_dev(host->mmc), + dev_dbg(mmc_dev(host->mmc), "smc %d err, cmd %d,%s%s%s%s%s%s%s%s%s%s !!\n", host->mmc->index, cmd->opcode, data ? (data->flags & MMC_DATA_WRITE ? " WR" : " RD") : "", |