[PATCH] clk: exynos5420: Keep aclk66_peric enabled during boot
Doug Anderson
dianders at chromium.org
Fri May 30 09:29:03 PDT 2014
Javier,
On Fri, May 30, 2014 at 7:00 AM, Javier Martinez Canillas
<javier.martinez at collabora.co.uk> wrote:
>> @@ -1239,3 +1251,15 @@ static void __init exynos5800_clk_init(struct device_node *np)
>> exynos5x_clk_init(np, EXYNOS5800);
>> }
>> CLK_OF_DECLARE(exynos5800_clk, "samsung,exynos5800-clock", exynos5800_clk_init);
>> +
>> +static int __init exynos5420_clk_late_init(void)
>> +{
>> + int i;
>> +
>> + for (i = 0; i < ARRAY_SIZE(boot_clocks); i++) {
>> + struct clk *to_disable = __clk_lookup(boot_clocks[i]);
>> +
>> + clk_disable_unprepare(to_disable);
>> + }
>> +}
>> +late_initcall(exynos5420_clk_late_init);
>>
>
> You should return 0 here.
Duh. Done.
More information about the linux-arm-kernel
mailing list