From: Anton Vorontsov <cbouatmailru@gmail.com>
To: Roy Zang <tie-fei.zang@freescale.com>
Cc: linuxppc-dev@ozlabs.org, linux-mmc-approval@vger.kernel.org,
Chang-Ming.Huang@freescale.com
Subject: Re: [PATCH 1/3] mmc: Auto CMD12 support for eSDHC driver
Date: Fri, 30 Jul 2010 11:26:37 +0400 [thread overview]
Message-ID: <20100730072637.GC20351@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <1280295753-12331-1-git-send-email-tie-fei.zang@freescale.com>
On Wed, Jul 28, 2010 at 01:42:33PM +0800, Roy Zang wrote:
[...]
> + if (host->quirks & SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12)
> + if (mrq->stop) {
> + mrq->data->stop = NULL;
> + mrq->stop = NULL;
> + }
Please put additional curly braces for the first 'if' statement.
> host->mrq = mrq;
>
> diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h
> index c846813..aa112aa 100644
> --- a/drivers/mmc/host/sdhci.h
> +++ b/drivers/mmc/host/sdhci.h
> @@ -2,6 +2,7 @@
> * linux/drivers/mmc/host/sdhci.h - Secure Digital Host Controller Interface driver
> *
> * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved.
> + * Copyright 2010 Freescale Semiconductor, Inc.
Wrong count of spaces after '*'.
Also, according to git shortlog it's Freescale's first
patch to sdhci core, and the patch is quite trivial.
IANAL, but please refrain from adding authorship or copyright
notices unless you have done some major contribution(s).
> * This program is free software; you can redistribute it and/or modify
> * it under the terms of the GNU General Public License as published by
> @@ -240,6 +241,8 @@ struct sdhci_host {
> #define SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN (1<<25)
> /* Controller cannot support End Attribute in NOP ADMA descriptor */
> #define SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC (1<<26)
> +/* Controller uses Auto CMD12 command to stop the transfer */
> +#define SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 (1<<27)
Thanks,
--
Anton Vorontsov
email: cbouatmailru@gmail.com
irc://irc.freenode.net/bd2
prev parent reply other threads:[~2010-07-30 7:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-28 5:42 [PATCH 1/3] mmc: Auto CMD12 support for eSDHC driver Roy Zang
2010-07-30 7:26 ` Anton Vorontsov [this message]
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=20100730072637.GC20351@oksana.dev.rtsoft.ru \
--to=cbouatmailru@gmail.com \
--cc=Chang-Ming.Huang@freescale.com \
--cc=linux-mmc-approval@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=tie-fei.zang@freescale.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;
as well as URLs for NNTP newsgroup(s).