diff options
author | yangbo lu <yangbo.lu@freescale.com> | 2015-11-25 10:05:37 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-31 12:06:09 +0100 |
commit | 0fd49331f9c1fee00ad9ef125faea9d14d7c6a59 (patch) | |
tree | c00bcdff3ac55a6b17bc19330e8e7e02e1e78860 /certs/Makefile | |
parent | 5ee8fef15d0affce9ff482dd99ff33a0578c2368 (diff) | |
download | linux-stable-0fd49331f9c1fee00ad9ef125faea9d14d7c6a59.tar.gz linux-stable-0fd49331f9c1fee00ad9ef125faea9d14d7c6a59.tar.bz2 linux-stable-0fd49331f9c1fee00ad9ef125faea9d14d7c6a59.zip |
mmc: sdhci-of-esdhc: add/remove some quirks according to vendor version
commit 1ef5e49e46b919052474d9b54a15debc79ff0133 upstream.
A previous patch had removed esdhc_of_platform_init() by mistake.
static void esdhc_of_platform_init(struct sdhci_host *host)
{
u32 vvn;
vvn = in_be32(host->ioaddr + SDHCI_SLOT_INT_STATUS);
vvn = (vvn & SDHCI_VENDOR_VER_MASK) >> SDHCI_VENDOR_VER_SHIFT;
if (vvn == VENDOR_V_22)
host->quirks2 |= SDHCI_QUIRK2_HOST_NO_CMD23;
if (vvn > VENDOR_V_22)
host->quirks &= ~SDHCI_QUIRK_NO_BUSY_IRQ;
}
This patch is used to fix it by add/remove some quirks according to
verdor version in probe.
Signed-off-by: Yangbo Lu <yangbo.lu@freescale.com>
Fixes: f4932cfd22f1 ("mmc: sdhci-of-esdhc: support both BE and LE host controller")
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'certs/Makefile')
0 files changed, 0 insertions, 0 deletions