Skip to contentSkip to conversation

mci: imx-esdhc: lower timeout message priority to dev_dbg

PATCH New Sascha Hauer 1 participant 1 message Feb 12, 2020 Arm i.MX and Layerscape

lore
Share & tools
lore

Sascha Hauer

author maintainer
#0 lore raw

PATCH 1/1 mci: imx-esdhc: lower timeout message priority to dev_dbg

The timeout when waiting for a command to complete is expected in some cases, so do not bark loudly. This used to be dev_dbg() earlier already.

Fixes 4a7d7b16e2 ("mci: imx-esdhc: Share code for esdhc_send_cmd()")
---
 drivers/mci/imx-esdhc-common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mci/imx-esdhc-common.c +1 -1
index d0bef9470c..c9d589468f 100644
@@ -214,7 +214,7 @@ int __esdhc_send_cmd(struct fsl_esdhc_host *host, struct mci_cmd *cmd,
 			 SDHCI_INT_CMD_COMPLETE, SDHCI_INT_CMD_COMPLETE,
 			 100 * MSECOND);
 	if (ret) {
-		dev_err(host->dev, "timeout 1\n");
+		dev_dbg(host->dev, "timeout 1\n");
 		return -ETIMEDOUT;
 	}
 
Signature · 7 lines
2.25.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox