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: Re: [PATCH] mmc: sdhci-pxav3: dt: Support "broken-cd"/"wp-inverted" properties
Date: Tue, 11 Sep 2012 11:02:47 -0400	[thread overview]
Message-ID: <87d31sy548.fsf@octavius.laptop.org> (raw)
In-Reply-To: <CAN1soZzebpiQB_7HW80xnqEqqVJumiDxPQ3jqx_8ezBRMr6TZg@mail.gmail.com> (Haojian Zhuang's message of "Tue, 11 Sep 2012 22:29:48 +0800")

Hi,

On Tue, Sep 11 2012, Haojian Zhuang wrote:
> On Sun, Sep 9, 2012 at 11:05 AM, Chris Ball <cjb@laptop.org> wrote:
>> Signed-off-by: Chris Ball <cjb@laptop.org>
>> ---
>>  drivers/mmc/host/sdhci-pxav3.c | 6 ++++++
>>  1 file changed, 6 insertions(+)
>>
>> diff --git a/drivers/mmc/host/sdhci-pxav3.c b/drivers/mmc/host/sdhci-pxav3.c
>> index a553b18..8a9b367 100644
>> --- a/drivers/mmc/host/sdhci-pxav3.c
>> +++ b/drivers/mmc/host/sdhci-pxav3.c
>> @@ -198,6 +198,12 @@ static struct sdhci_pxa_platdata *pxav3_get_mmc_pdata(struct device *dev)
>>         if (clk_delay_cycles > 0)
>>                 pdata->clk_delay_cycles = clk_delay_cycles;
>>
>> +       if (of_find_property(np, "broken-cd", NULL))
>> +               pdata->quirks |= SDHCI_QUIRK_BROKEN_CARD_DETECTION;
>> +
>> +       if (of_find_property(np, "wp-inverted", NULL))
>> +               pdata->quirks |= SDHCI_QUIRK_INVERTED_WRITE_PROTECT;
>> +
>>         return pdata;
>>  }
>>  #else
>
> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com>

Thanks, pushed to mmc-next for 3.7.

- Chris.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

  reply	other threads:[~2012-09-11 15:02 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 [this message]
2012-09-19  8:27     ` [PATCH] mmc: sdhci-pxav3: Use sdhci_get_of_property for parsing DT quirks Chris Ball
2012-09-20  2:06       ` 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=87d31sy548.fsf@octavius.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