[PATCH] clk: Correct handling of NULL clk in __clk_{get, put}

Sachin Kamat sachin.kamat at linaro.org
Tue Jan 7 23:44:47 EST 2014


Hi Sylwester,

On 7 January 2014 17:33, Sylwester Nawrocki <s.nawrocki at samsung.com> wrote:
> Ensure clk->kref is dereferenced only when clk is not NULL.
>
> Signed-off-by: Sylwester Nawrocki <s.nawrocki at samsung.com>
> ---
> Hi Sachin,
>
> please try if this patch fixes the exyno5420 boot crash.

Confirmed that this patch works fine on 5420 as well as already
working 4210 and 5250 boards.
Thanks for the quick fix.

Tested-by: Sachin Kamat <sachin.kamat at linaro.org>


-- 
With warm regards,
Sachin



More information about the linux-arm-kernel mailing list