From: prakity@marvell.com (Philip Rakity)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] Enable BUS WIDTH testing for MMC/eMMC cards
Date: Sun, 19 Dec 2010 19:23:31 -0800 [thread overview]
Message-ID: <mailman.74.1293001961.1530.linux-arm-kernel@lists.infradead.org> (raw)
Signed-off-by: Philip Rakity <prakity@marvell.com>
---
drivers/mmc/host/sdhci-pxa.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/host/sdhci-pxa.c b/drivers/mmc/host/sdhci-pxa.c
index 13395d2..5686ca3 100644
--- a/drivers/mmc/host/sdhci-pxa.c
+++ b/drivers/mmc/host/sdhci-pxa.c
@@ -129,6 +129,9 @@ 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
+ /* enable mmc bus width testing */
+ host->mmc->caps |=3D MMC_CAP_BUS_WIDTH_TEST;
+
/* 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_2A545D3999AB4EC5BA93643CF18B4D7Dmarvellcom_
Content-Type: application/octet-stream;
name="0005-Enable-BUS-WIDTH-testing-for-MMC-eMMC-cards.patch"
Content-Description: 0005-Enable-BUS-WIDTH-testing-for-MMC-eMMC-cards.patch
Content-Disposition: attachment;
filename="0005-Enable-BUS-WIDTH-testing-for-MMC-eMMC-cards.patch"; size=974;
creation-date="Tue, 21 Dec 2010 23:08:10 GMT";
modification-date="Tue, 21 Dec 2010 23:08:10 GMT"
Content-Transfer-Encoding: base64
RnJvbSA2NWU3Nzg3YmIxZWEwYmM1YmYyZWZlMWQxZjJmYzQzZWZkZjIxZDEwIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBQaG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AqLwogCWlmIChwZGF0YS0+ZmxhZ3MgJiBQWEFfRkxBR19TRF84X0JJVF9DQVBBQkxF
X1NMT1QpCiAJCWhvc3QtPm1tYy0+Y2FwcyB8PSBNTUNfQ0FQXzhfQklUX0RBVEE7Ci0tIAoxLjYu
MC40Cgo=
--_002_2A545D3999AB4EC5BA93643CF18B4D7Dmarvellcom_--
reply other threads:[~2010-12-20 3:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=mailman.74.1293001961.1530.linux-arm-kernel@lists.infradead.org \
--to=prakity@marvell.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).