]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-of-at91: fix MMC_DDR_52 timing selection
authorLudovic Desroches <ludovic.desroches@microchip.com>
Tue, 28 Mar 2017 09:00:45 +0000 (11:00 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 30 Mar 2017 19:10:29 +0000 (21:10 +0200)
commit2cf5e4e9653c78824969b985930e2ab082b10f08
treea3d361b7194553f2ecc338404bec23794ef033da
parentdc33abcfb35ba7485bc6a73eeb6d4b5d6e353e61
mmc: sdhci-of-at91: fix MMC_DDR_52 timing selection

The controller has different timings for MMC_TIMING_UHS_DDR50 and
MMC_TIMING_MMC_DDR52. Configuring the controller with SDHCI_CTRL_UHS_DDR50,
when MMC_TIMING_MMC_DDR52 timings are requested, is not correct and can
lead to unexpected behavior.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Fixes: 50e7a7d7df02 ("mmc: sdhci-of-at91: introduce driver for the Atmel SDMMC")
Cc: <stable@vger.kernel.org> # 4.4+
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-at91.c