[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53885D98.8030207@linaro.org>
Date: Fri, 30 May 2014 11:29:44 +0100
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: Ulf Hansson <ulf.hansson@...aro.org>
CC: Russell King <linux@....linux.org.uk>,
linux-mmc <linux-mmc@...r.kernel.org>,
Chris Ball <chris@...ntf.net>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-msm@...r.kernel.org" <linux-arm-msm@...r.kernel.org>,
Linus Walleij <linus.walleij@...aro.org>
Subject: Re: [PATCH v4 11/13] mmc: mmci: add f_max to variant structure
Thanks Ulf,
On 30/05/14 11:28, Ulf Hansson wrote:
>> */
>> >- if (host->mclk > 100000000) {
>> >- ret = clk_set_rate(host->clk, 100000000);
>> >+ if (host->mclk > host->variant->f_max) {
> You can use the local variant pointer directly, instead of host->variant.
>
yes, Will do that in next version.
Thanks,
srini
>> >+ ret = clk_set_rate(host->clk, host->variant->f_max);
>> > if (ret < 0)
>> > goto clk_disable;
>> > host->mclk = clk_get_rate(host->clk);
>> >--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists