Re: [PATCH v4 11/13] mmc: mmci: add f_max to variant structure

2014-05-30 Thread Ulf Hansson
On 28 May 2014 15:47, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla srinivas.kandaga...@linaro.org Some of the controller have maximum supported frequency, This patch adds support in variant data structure to specify such restrictions. This gives more flexibility in

Re: [PATCH v4 11/13] mmc: mmci: add f_max to variant structure

2014-05-30 Thread Srinivas Kandagatla
Thanks Ulf, On 30/05/14 11:28, Ulf Hansson wrote: */ - if (host-mclk 1) { - ret = clk_set_rate(host-clk, 1); + if (host-mclk host-variant-f_max) { You can use the local variant pointer directly, instead of host-variant. yes, Will do that

[PATCH v4 11/13] mmc: mmci: add f_max to variant structure

2014-05-28 Thread srinivas . kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@linaro.org Some of the controller have maximum supported frequency, This patch adds support in variant data structure to specify such restrictions. This gives more flexibility in calculating the f_max before passing it to mmc-core. Signed-off-by: