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

Commit bd675698 authored by Icenowy Zheng's avatar Icenowy Zheng Committed by Ulf Hansson
Browse files

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: default avatarIcenowy Zheng <icenowy@aosc.xyz>
Acked-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent a744c6fe
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -489,7 +489,7 @@ static void sunxi_mmc_dump_errinfo(struct sunxi_mmc_host *host)
				      cmd->opcode == SD_IO_RW_DIRECT))
				      cmd->opcode == SD_IO_RW_DIRECT))
		return;
		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",
		"smc %d err, cmd %d,%s%s%s%s%s%s%s%s%s%s !!\n",
		host->mmc->index, cmd->opcode,
		host->mmc->index, cmd->opcode,
		data ? (data->flags & MMC_DATA_WRITE ? " WR" : " RD") : "",
		data ? (data->flags & MMC_DATA_WRITE ? " WR" : " RD") : "",