Commit 61f2e5ee12895a2bdaeac8dd13e8d7f50ca7e375

Authored by Masahiro Yamada
Committed by Jaehoon Chung
1 parent dd43e2a6bd

mmc: sdhci: change data transfer failure into debug message

During the tuning, drivers repeat data transfer, changing timing
parameters in the controller hardware.  So, the tuning commands
(CMD19 for SD, CMD21 for eMMC) fail, and this is not a problem
at all.

Showing "Error detected..." in normal operation just make users
upset.  This should not be shown.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -86,8 +86,8 @@
86 86 do {
87 87 stat = sdhci_readl(host, SDHCI_INT_STATUS);
88 88 if (stat & SDHCI_INT_ERROR) {
89   - printf("%s: Error detected in status(0x%X)!\n",
90   - __func__, stat);
  89 + pr_debug("%s: Error detected in status(0x%X)!\n",
  90 + __func__, stat);
91 91 return -EIO;
92 92 }
93 93 if (!transfer_done && (stat & rdy)) {