[PATCH] sdhci: remove support for quirks in sdhci-pxa.c -- not use=
Philip Rakity
prakity at marvell.com
Sun Dec 19 22:12:39 EST 2010
d
remove support for platform specific quirks in arch files
new method coming in future patch
Signed-off-by: Mark F. Brown <markb at marvell.com>
Signed-off-by: Philip Rakity <prakity at marvell.com>
---
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/inc=
lude/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;
};
=20
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_de=
vice *pdev)
host->irq =3D irq;
host->quirks =3D SDHCI_QUIRK_BROKEN_ADMA | SDHCI_QUIRK_BROKEN_TIMEOUT_VAL=
;
=20
- if (pdata->quirks)
- host->quirks |=3D 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 |=3D MMC_CAP_8_BIT_DATA;
--=20
1.6.0.4
--_002_315434442B8644CCAC8944755BFE2E79marvellcom_
Content-Type: application/octet-stream;
name="0004-sdhci-remove-support-for-quirks-in-sdhci-pxa.c-n.patch"
Content-Description: 0004-sdhci-remove-support-for-quirks-in-sdhci-pxa.c-n.patch
Content-Disposition: attachment;
filename="0004-sdhci-remove-support-for-quirks-in-sdhci-pxa.c-n.patch";
size=1708; creation-date="Tue, 21 Dec 2010 23:07:57 GMT";
modification-date="Tue, 21 Dec 2010 23:07:57 GMT"
Content-Transfer-Encoding: base64
RnJvbSA1YWZkNTllYjU5OTRiZWYyNTllMzI3YzBjZGQxZWU4ZjEzMGY1ZjcwIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBQaGlsaXAgUmFraXR5IDxwcmFraXR5QG1hcnZlbGwuY29tPgpE
YXRlOiBTdW4sIDE5IERlYyAyMDEwIDE5OjEyOjM5IC0wODAwClN1YmplY3Q6IFtQQVRDSF0gc2Ro
Y2k6IHJlbW92ZSBzdXBwb3J0IGZvciBxdWlya3MgaW4gc2RoY2ktcHhhLmMgLS0gbm90IHVzZWQK
CnJlbW92ZSBzdXBwb3J0IGZvciBwbGF0Zm9ybSBzcGVjaWZpYyBxdWlya3MgaW4gYXJjaCBmaWxl
cwpuZXcgbWV0aG9kIGNvbWluZyBpbiBmdXR1cmUgcGF0Y2gKClNpZ25lZC1vZmYtYnk6IE1hcmsg
Ri4gQnJvd24gPG1hcmtiQG1hcnZlbGwuY29tPgpTaWduZWQtb2ZmLWJ5OiBQaGlsaXAgUmFraXR5
IDxwcmFraXR5QG1hcnZlbGwuY29tPgotLS0KIGFyY2gvYXJtL3BsYXQtcHhhL2luY2x1ZGUvcGxh
dC9zZGhjaS5oIHwgICAgMiAtLQogZHJpdmVycy9tbWMvaG9zdC9zZGhjaS1weGEuYyAgICAgICAg
ICAgfCAgICAzIC0tLQogMiBmaWxlcyBjaGFuZ2VkLCAwIGluc2VydGlvbnMoKyksIDUgZGVsZXRp
b25zKC0pCgpkaWZmIC0tZ2l0IGEvYXJjaC9hcm0vcGxhdC1weGEvaW5jbHVkZS9wbGF0L3NkaGNp
LmggYi9hcmNoL2FybS9wbGF0LXB4YS9pbmNsdWRlL3BsYXQvc2Ro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