]> 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:29:36 +0000 (12:29 +0100)
commit2cc461091c633214f8d13fe052f06c7803fa6e99
tree2181935a1f5297f44503894805d47ec044ec284f
parent251078731b0f670f41eaaf3f2aabbaa24d344b3f
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