mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
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>
This commit is contained in:
parent
dd43e2a6bd
commit
61f2e5ee12
1 changed files with 2 additions and 2 deletions
|
@ -86,8 +86,8 @@ static int sdhci_transfer_data(struct sdhci_host *host, struct mmc_data *data,
|
|||
do {
|
||||
stat = sdhci_readl(host, SDHCI_INT_STATUS);
|
||||
if (stat & SDHCI_INT_ERROR) {
|
||||
printf("%s: Error detected in status(0x%X)!\n",
|
||||
__func__, stat);
|
||||
pr_debug("%s: Error detected in status(0x%X)!\n",
|
||||
__func__, stat);
|
||||
return -EIO;
|
||||
}
|
||||
if (!transfer_done && (stat & rdy)) {
|
||||
|
|
Loading…
Reference in a new issue