summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/in2000.h
diff options
context:
space:
mode:
authoryangbo lu <yangbo.lu@freescale.com>2015-11-25 03:05:37 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2015-12-22 11:32:11 +0100
commit1ef5e49e46b919052474d9b54a15debc79ff0133 (patch)
tree152a7b406c1a8b273324b6803fa5a0eb46b7f81b /drivers/scsi/in2000.h
parentmmc: atmel-mci: atmci_convert_chksize depends on controller version (diff)
downloadlinux-1ef5e49e46b919052474d9b54a15debc79ff0133.tar.xz
linux-1ef5e49e46b919052474d9b54a15debc79ff0133.zip
mmc: sdhci-of-esdhc: add/remove some quirks according to vendor version
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>
Diffstat (limited to 'drivers/scsi/in2000.h')
0 files changed, 0 insertions, 0 deletions