From: David Vrabel <david.vrabel@csr.com>
To: zhangfei gao <zhangfei.gao@gmail.com>
Cc: Chris Ball <cjb@laptop.org>,
linux-mmc@vger.kernel.org, Kyungmin Park <kmpark@infradead.org>
Subject: Re: [patch] mmc: fix init f_min
Date: Mon, 20 Sep 2010 15:34:12 +0100 [thread overview]
Message-ID: <4C9770E4.7000801@csr.com> (raw)
In-Reply-To: <AANLkTi=8ScP4Lm-an7bjXhj8doUVu+nM0KnVTa3WK4p3@mail.gmail.com>
zhangfei gao wrote:
> From fa357144df43e6c1a9e5e36af497c53437cd41e1 Mon Sep 17 00:00:00 2001
> From: Zhangfei Gao <zhangfei.gao@marvell.com>
> Date: Mon, 20 Sep 2010 15:12:26 -0400
> Subject: [PATCH 3/4] mmc: fix init f_min
>
> Change-Id: I7fab1a1a162d9f26fc92c497078f26912c04a3fc
What's this line in the description for?
> Signed-off-by: Zhangfei Gao <zhangfei.gao@marvell.com>
> ---
> drivers/mmc/core/core.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
> index 5db49b1..9114c87 100644
> --- a/drivers/mmc/core/core.c
> +++ b/drivers/mmc/core/core.c
> @@ -910,9 +910,9 @@ static void mmc_power_up(struct mmc_host *host)
> if (host->f_min > 400000) {
> pr_warning("%s: Minimum clock frequency too high for "
> "identification mode\n", mmc_hostname(host));
> - host->ios.clock = host->f_min;
> - } else
> host->ios.clock = 400000;
> + } else
> + host->ios.clock = host->f_min;
NAK.
The code is already correctly requesting 400 kHz (unless the controller
can't go that slow).
David
--
David Vrabel, Senior Software Engineer, Drivers
CSR, Churchill House, Cambridge Business Park, Tel: +44 (0)1223 692562
Cowley Road, Cambridge, CB4 0WZ http://www.csr.com/
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
next prev parent reply other threads:[~2010-09-20 14:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-20 7:25 [patch] mmc: fix init f_min zhangfei gao
2010-09-20 14:34 ` David Vrabel [this message]
2010-09-20 15:21 ` zhangfei gao
2010-09-25 3:44 ` zhangfei gao
2010-09-27 9:33 ` David Vrabel
2010-09-28 3:34 ` zhangfei gao
2010-09-28 3:55 ` Hein_Tibosch
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=4C9770E4.7000801@csr.com \
--to=david.vrabel@csr.com \
--cc=cjb@laptop.org \
--cc=kmpark@infradead.org \
--cc=linux-mmc@vger.kernel.org \
--cc=zhangfei.gao@gmail.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).