]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: Update the tuning failed messages to pr_debug level
authorFaiz Abbas <faiz_abbas@ti.com>
Fri, 6 Dec 2019 11:43:26 +0000 (17:13 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 16 Dec 2019 11:25:26 +0000 (12:25 +0100)
commitc5095e90f9ece9652f0dc94acc5cfe3f8df2902b
tree9a5eb29428e73a8c1376619d1973adf8a50de86b
parentd746dddbe9005966ff5012c6e859584835836acf
mmc: sdhci: Update the tuning failed messages to pr_debug level

Tuning support in DDR50 speed mode was added in SD Specifications Part1
Physical Layer Specification v3.01. Its not possible to distinguish
between v3.00 and v3.01 from the SCR and that is why since
commit 368342141c13 ("mmc: core: enable CMD19 tuning for DDR50 mode")
tuning failures are ignored in DDR50 speed mode.

Cards compatible with v3.00 don't respond to CMD19 in DDR50 and this
error gets printed during enumeration and also if retune is triggered at
any time during operation. Update the printk level to pr_debug so that
these errors don't lead to false error reports.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Cc: stable@vger.kernel.org # v4.4+
Link: https://lore.kernel.org/r/20191206114326.15856-1-faiz_abbas@ti.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c