[PATCH 5/5] clk: versatile: respect parent rate in ICST clock

Linus Walleij linus.walleij at linaro.org
Mon Jan 20 16:16:53 EST 2014


On Mon, Jan 20, 2014 at 10:12 PM, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:

>> -static const struct icst_params impd1_vco2_params = {
>> +static struct icst_params impd1_vco2_params = {
>>       .ref            = 24000000,     /* 24 MHz */
>>       .vco_max        = ICST525_VCO_MAX_3V,
>>       .vco_min        = ICST525_VCO_MIN,
>
> Right, so we end up writing directly into these _shared_ _statically_
> _allocated_ structures.

Argh yeah that's right.

I'll think of something better, like allocating the params on-the-fly
for DT instead.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list