]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitd0918764c17b94c30bbb2619929b1719ff52707a
treea3d361b7194553f2ecc338404bec23794ef033da
parent923713b357455cfb9aca2cd3429cb0806a724ed2
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: bb5f8ea4d514 ("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