From 5afd59eb5994bef259e327c0cdd1ee8f130f5f70 Mon Sep 17 00:00:00 2001
From: Philip Rakity <redacted>
Date: Sun, 19 Dec 2010 19:12:39 -0800
Subject: [PATCH] sdhci: remove support for quirks in sdhci-pxa.c -- not used
remove support for platform specific quirks in arch files
new method coming in future patch
Signed-off-by: Mark F. Brown <redacted>
Signed-off-by: Philip Rakity <redacted>
---
arch/arm/plat-pxa/include/plat/sdhci.h | 2 --
drivers/mmc/host/sdhci-pxa.c | 3 ---
2 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/arch/arm/plat-pxa/include/plat/sdhci.h b/arch/arm/plat-pxa/include/plat/sdhci.h
index 270fb2b..224e28c 100644
--- a/arch/arm/plat-pxa/include/plat/sdhci.h
+++ b/arch/arm/plat-pxa/include/plat/sdhci.h
@@ -22,12 +22,10 @@
/*
* struct pxa_sdhci_platdata() - Platform device data for PXA SDHCI
* @max_speed: the maximum speed supported
- * @quirks: quirks of specific device
* @flags: flags for platform requirement
*/
struct sdhci_pxa_platdata {
unsigned int max_speed;
- unsigned int quirks;
unsigned int flags;
};
diff --git a/drivers/mmc/host/sdhci-pxa.c b/drivers/mmc/host/sdhci-pxa.c
index 4713238..13395d2 100644
--- a/drivers/mmc/host/sdhci-pxa.c
+++ b/drivers/mmc/host/sdhci-pxa.c
@@ -129,9 +129,6 @@ static int __devinit sdhci_pxa_probe(struct platform_device *pdev)
host->irq = irq;
host->quirks = SDHCI_QUIRK_BROKEN_ADMA | SDHCI_QUIRK_BROKEN_TIMEOUT_VAL;
- if (pdata->quirks)
- host->quirks |= pdata->quirks;
-
/* If slot design supports 8 bit data, indicate this to MMC. */
if (pdata->flags & PXA_FLAG_SD_8_BIT_CAPABLE_SLOT)
host->mmc->caps |= MMC_CAP_8_BIT_DATA;
--
1.6.0.4