Linux MultiMedia Card development
 help / color / mirror / Atom feed
* [PATCH v2] mmc: mtk-sd: Increase the verbosity of msdc_track_cmd_data
@ 2023-11-29  2:59 Pin-yen Lin
  2023-11-29  7:53 ` Wenbin Mei (梅文彬)
  0 siblings, 1 reply; 2+ messages in thread
From: Pin-yen Lin @ 2023-11-29  2:59 UTC (permalink / raw)
  To: Chaotian Jing, Ulf Hansson, Matthias Brugger,
	AngeloGioacchino Del Regno
  Cc: linux-arm-kernel, linux-kernel, ot_shunxi.zhang, Chen-Yu Tsai,
	linux-mmc, linux-mediatek, Pin-yen Lin

This log message is necessary for debugging, so enable it by default to
debug issues that are hard to reproduce locally.

Signed-off-by: Pin-yen Lin <treapking@chromium.org>

---

Changes in v2:
- Use dev_warn() instead of dev_err()

 drivers/mmc/host/mtk-sd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c
index 97f7c3d4be6e..907c13d746c1 100644
--- a/drivers/mmc/host/mtk-sd.c
+++ b/drivers/mmc/host/mtk-sd.c
@@ -1150,8 +1150,8 @@ static void msdc_recheck_sdio_irq(struct msdc_host *host)
 static void msdc_track_cmd_data(struct msdc_host *host, struct mmc_command *cmd)
 {
 	if (host->error)
-		dev_dbg(host->dev, "%s: cmd=%d arg=%08X; host->error=0x%08X\n",
-			__func__, cmd->opcode, cmd->arg, host->error);
+		dev_warn(host->dev, "%s: cmd=%d arg=%08X; host->error=0x%08X\n",
+			 __func__, cmd->opcode, cmd->arg, host->error);
 }
 
 static void msdc_request_done(struct msdc_host *host, struct mmc_request *mrq)
-- 
2.43.0.rc1.413.gea7ed67945-goog


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-29  7:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-29  2:59 [PATCH v2] mmc: mtk-sd: Increase the verbosity of msdc_track_cmd_data Pin-yen Lin
2023-11-29  7:53 ` Wenbin Mei (梅文彬)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox