public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Ball <cjb@laptop.org>
To: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: linux-mmc@vger.kernel.org, Philip Rakity <prakity@marvell.com>,
	Zhangfei Gao <zhangfei.gao@marvell.com>
Subject: [PATCH] mmc: sdhci-pxav3: Use sdhci_get_of_property for parsing DT quirks
Date: Wed, 19 Sep 2012 04:27:39 -0400	[thread overview]
Message-ID: <m3lig6h0xw.fsf_-_@pullcord.laptop.org> (raw)
In-Reply-To: <87d31sy548.fsf@octavius.laptop.org> (Chris Ball's message of "Tue, 11 Sep 2012 11:02:47 -0400")

In particular, this is done to gain support for broken-cd and wp-inverted.

Signed-off-by: Chris Ball <cjb@laptop.org>
---
(A previously submitted patch of mine added broken-cd support to
sdhci-pxav3 directly; I think it's a better idea to discard that
patch and use this one instead.)

 drivers/mmc/host/sdhci-pxav3.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c
index 3a81cd6..78d7c42 100644
--- a/drivers/mmc/host/sdhci-pxav3.c
+++ b/drivers/mmc/host/sdhci-pxav3.c
@@ -296,6 +296,8 @@ static int __devinit sdhci_pxav3_probe(struct platform_device *pdev)
 
 	host->ops = &pxav3_sdhci_ops;
 
+	sdhci_get_of_property(pdev);
+
 	ret = sdhci_add_host(host);
 	if (ret) {
 		dev_err(&pdev->dev, "failed to add host\n");
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

  reply	other threads:[~2012-09-19  8:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-09  3:05 [PATCH] mmc: sdhci-pxav3: dt: Support "broken-cd"/"wp-inverted" properties Chris Ball
2012-09-11 14:29 ` Haojian Zhuang
2012-09-11 15:02   ` Chris Ball
2012-09-19  8:27     ` Chris Ball [this message]
2012-09-20  2:06       ` [PATCH] mmc: sdhci-pxav3: Use sdhci_get_of_property for parsing DT quirks zhangfei gao

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=m3lig6h0xw.fsf_-_@pullcord.laptop.org \
    --to=cjb@laptop.org \
    --cc=haojian.zhuang@gmail.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=prakity@marvell.com \
    --cc=zhangfei.gao@marvell.com \
    /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