Re: [PATCH] clk: exynos5420: Keep aclk66_peric enabled during boot

From: Doug Anderson
Date: Fri May 30 2014 - 12:29:11 EST


Javier,

On Fri, May 30, 2014 at 7:00 AM, Javier Martinez Canillas
<javier.martinez@xxxxxxxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/