]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: tmio: Silence transfer errors when tuning
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Tue, 30 Oct 2018 21:05:54 +0000 (22:05 +0100)
committerMarek Vasut <marex@denx.de>
Fri, 2 Nov 2018 14:57:14 +0000 (15:57 +0100)
commit33633ebb1c9a25a439dadea9818bfcdac46cdfff
tree8ed1c086d5f37a029169b75ad0b7b832a35950a3
parentb22c8d0de484f9a4fe677bc2f9de026771605666
mmc: tmio: Silence transfer errors when tuning

In case the controller performs card tuning, that is, sends MMC
command 19 or 21, silence possible CRC error warning prints. The
warnings are bound to happen, since the tuning will fail for some
settings while searching for the optimal configuration of the bus
and that is perfectly OK.

This patch passes around the MMC command structure and adds check
into tmio_sd_check_error() to avoid printing CRC error warning
when the tuning happens.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mmc/tmio-common.c