From: "Ivan T. Ivanov" <ivan.ivanov@linaro.org>
To: Georgi Djakov <georgi.djakov@linaro.org>
Cc: Ulf Hansson <ulf.hansson@linaro.org>,
Stephen Boyd <sboyd@codeaurora.org>,
Peter Griffin <peter.griffin@linaro.org>,
linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH] mmc: sdhci: msm: Boost controller core clock
Date: Fri, 26 Jun 2015 14:59:22 +0300 [thread overview]
Message-ID: <1435319962.32171.10.camel@linaro.org> (raw)
In-Reply-To: <558D38DF.1080201@linaro.org>
On Fri, 2015-06-26 at 14:34 +0300, Georgi Djakov wrote:
> On 06/26/2015 02:16 PM, Ivan T. Ivanov wrote:
> > Ensure SDCC is working with maximum clock otherwise card
> > detection could be extremely slow, up to 7 seconds.
> >
> > Signed-off-by: Ivan T. Ivanov ivanov@linaro.org>
> > ---
> > drivers/mmc/host/sdhci-msm.c | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
> > index 4a09f76..b2556bc 100644
> > --- a/drivers/mmc/host/sdhci-msm.c
> > +++ b/drivers/mmc/host/sdhci-msm.c
> > @@ -489,6 +489,11 @@ static int sdhci_msm_probe(struct platform_device *pdev)
> > goto pclk_disable;
> > }
> >
> > + /* Vote for maximum clock rate for maximum performance */
> > + ret = clk_set_rate(msm_host->clk, INT_MAX);
> > + if (ret)
> > + dev_warn(&pdev->dev, "core clock boost falied\n");
>
> failed?
>
> Otherwise looks good to me.
>
Oops, will fix.
Thanks,
Ivan
> > +
> > ret = clk_prepare_enable(msm_host->clk);
> > if (ret)
> > goto pclk_disable;
> > --
> > 1.9.1
> >
>
>
next prev parent reply other threads:[~2015-06-26 11:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-26 11:16 [PATCH] mmc: sdhci: msm: Boost controller core clock Ivan T. Ivanov
2015-06-26 11:34 ` Georgi Djakov
2015-06-26 11:59 ` Ivan T. Ivanov [this message]
2015-07-02 0:18 ` Stephen Boyd
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=1435319962.32171.10.camel@linaro.org \
--to=ivan.ivanov@linaro.org \
--cc=georgi.djakov@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=peter.griffin@linaro.org \
--cc=sboyd@codeaurora.org \
--cc=ulf.hansson@linaro.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).