linux/drivers/mmc
Carlo Caione 2a048a248f mmc: core: Enable tuning according to the actual timing
[ Upstream commit e10c321977 ]

While in sdhci_execute_tuning() the choice whether or not to enable the
tuning is done on the actual timing, in the mmc_sdio_init_uhs_card() the
check is done on the capability of the card.

This difference is causing some issues with some SDIO cards in DDR50
mode where the CDM19 is wrongly issued.

With this patch we modify the check in both
mmc_(sd|sdio)_init_uhs_card() functions to take the proper decision
only according to the actual timing specification.

Cc: stable@vger.kernel.org
Signed-off-by: Carlo Caione <carlo@endlessm.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2016-02-03 16:23:15 -05:00
..
card mmc: card: Fixup request missing in mmc_blk_issue_rw_rq 2015-08-03 09:29:15 -07:00
core mmc: core: Enable tuning according to the actual timing 2016-02-03 16:23:15 -05:00
host mmc: mmci: fix an ages old detection error 2016-02-03 16:23:15 -05:00
Kconfig mmc: explicitly mention SDIO support in Kconfig 2008-10-12 11:04:36 +02:00
Makefile mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00