]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: sdhci-pxav3: Fix Armada 38x controller's caps according to erratum ERR-7878951
authorMarcin Wojtas <mw@semihalf.com>
Thu, 29 Jan 2015 11:36:25 +0000 (12:36 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 29 Jan 2015 12:08:02 +0000 (13:08 +0100)
commita39128bcd6f1e56c6514abf489b40b67d226093b
tree377e736a1df15c133faf21045040a6fef6dd554a
parentd4b803c559843e3774736e5108cf6331cf75f64c
mmc: sdhci-pxav3: Fix Armada 38x controller's caps according to erratum ERR-7878951

According to erratum 'ERR-7878951' Armada 38x SDHCI controller has
different capabilities than the ones shown in its registers:

- it doesn't support the voltage switching: it can work either with
  3.3V or 1.8V supply
- it doesn't support the SDR104 mode
- SDR50 mode doesn't need tuning

The SDHCI_QUIRK_MISSING_CAPS quirk is used for updating the
capabilities accordingly.

[gregory.clement@free-electrons.com: port from 3.10]

Fixes: 5491ce3f79ee ("mmc: sdhci-pxav3: add support for the Armada 38x SDHCI controller")
Cc: <stable@vger.kernel.org> # v3.15+
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pxav3.c