]> git.ipfire.org Git - people/ms/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 22:52:53 +0000 (14:52 -0800)
commitac8623fa03573a01f707a9ffb9058b3fa7c4c1fe
tree1c6697f413594a575c7c284266d40977d1e05695
parent2bca6f804fc2c1ca6ea940a3e06791600d17d132
mmc: sdhci-pxav3: Fix Armada 38x controller's caps according to erratum ERR-7878951

commit a39128bcd6f1e56c6514abf489b40b67d226093b upstream.

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")
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/sdhci-pxav3.c